aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/test-queries.yml
Commit message (Collapse)AuthorAgeFilesLines
* feat(tests)!: new infrastructure based on makefileChristian Clason2025-05-121-3/+7
| | | | | | | | | | | | | | | | | | | | | | Problem: Not easy to run all checks and tests locally. Redundant CI workflows. Solution: Separate CI into two workflows: * lint: Lua files (stylua, luals), query files (valid captures, predicates, directives using tsqueryls), docs (SUPPORTED_LANGUAGES.md) -- does not need parser installation * tests: parsers (ABI compatibility), query files (tsqueryls on Linux/macOS; nvim on Windows), highlight and indent tests (separated for better readability) -- needs parser installation (but only once) Switch to https://github.com/nvim-treesitter/highlight-assertions fork with ABI 15 support. Run all tests (on Linux and macOS) through `make` (`formatlua`, `checklua`, `lintquery`, `formatquery`, `checkquery`, `docs`, `tests`), which downloads and caches all necessary dependencies. Remove `update-readme` workflow (replaced by lint job on PRs).
* ci(tests): add optional workflow for generating grammarsChristian Clason2025-05-121-48/+7
| | | | run on PR by adding label `ci:generate` or manually
* feat!: use tree-sitter buildChristian Clason2025-05-121-26/+1
|
* refactor: use `vim.uv`Christian Clason2025-05-121-1/+0
|
* ci: remove update-lockfile shell scriptChristian Clason2025-05-121-23/+19
|
* feat!: drop modules, general refactor and cleanupChristian Clason2025-05-121-1/+1
|
* ci(tests): check queries on 0.10.4Christian Clason2025-04-021-4/+4
|
* ci: replace node with upstream actionChristian Clason2024-04-141-4/+1
|
* ci(tests): use nvim nightly for win+clChristian Clason2024-04-141-1/+1
|
* ci: simplify cache keydundargoc2024-02-191-1/+5
| | | | Also ensure new matrix fields are automatically added to cache key.
* ci: fix invalid workflowdundargoc2024-02-101-3/+3
| | | | | | | | Context variables aren't always available, so we can't rely on them for e.g. environment variables. Also merge all install scripts into `script/ci-install.sh`, that way it can be called the same way regardless of system.
* ci: use `windows-latest` over `windows-2022`dundargoc2024-02-101-6/+6
| | | | It's convenient to not need to manually update the runner version.
* fixup: it's fineChristian Clason2024-02-091-1/+1
|
* ci: pin tree-sitter-cli version in npm installChristian Clason2024-02-091-1/+1
| | | | This prevents bad tags from messing up CI
* ci: use M1 for macOSChristian Clason2024-01-311-2/+2
| | | | | | GH Actions runners use M1 hardware for `macos-14` now. Since macOS is one of the slowest platforms for parser compilation, switching should give us not only ARM coverage but also shorter CI times.
* ci: bump cache to v4Christian Clason2024-01-241-1/+1
|
* ci: bump actions to latestChristian Clason2024-01-051-2/+2
|
* ci: update workflowsObserverOfTime2023-08-181-1/+1
|
* ci: remove ready_for_review typedundargoc2023-02-231-1/+0
| | | | | It's only needed if a job is disabled for drafts. Otherwise it will just run the same workflow twice.
* prettier formatting yml and mdKiyoon Kim2023-02-161-2/+2
|
* Add treesitter CLI in CI with Windows and macKiyoon Kim2023-02-151-3/+5
|
* ci: fix file name for cache calculationStephan Seitz2023-01-081-1/+1
|
* ci: bump action versionsdundargoc2022-12-171-3/+3
|
* fix: Add rnoweb to ALLOWED_INSTALLATION_FAILURESBrian Albert Monroe2022-06-191-0/+1
| | | | As per the request from @theHamsta in #2934
* ci: bump treesitter to 0.20.6Christian Clason2022-04-161-1/+1
|
* ci: remove all swift skipsChristian Clason2022-04-161-5/+0
| | | | followup to #2796
* ci: don't skip swift anymoreStephan Seitz2022-04-151-2/+0
| | | | I think this was a nvim 0.6 issue
* ci: update windows workflow to 0.7Christian Clason2022-04-151-1/+1
| | | | Unarchive directory was renamed to `nvim-win64`
* ci: rename workflows and jobs to be more consistentDundar Göc2022-02-141-0/+92