diff options
Diffstat (limited to '.github/workflows/tests.yml')
| -rw-r--r-- | .github/workflows/tests.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e09a5f295..86c7ad630 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,12 +1,12 @@ name: Tests on: - push: - branches: - - "master" + # push: + # branches: + # - "main" pull_request: branches: - - "master" + - "main" # Cancel any in-progress CI runs for a PR if it is updated concurrency: @@ -39,7 +39,8 @@ jobs: - name: Install and prepare Neovim env: - NVIM_TAG: v0.10.4 + NVIM_TAG: nightly + TREE_SITTER_CLI_TAG: v0.20.8 run: | bash ./scripts/ci-install.sh @@ -57,8 +58,8 @@ jobs: './lua/nvim-treesitter/shell_selectors.lua') }} - name: Compile parsers Unix like - run: | - nvim --headless -c "TSInstallSync all" -c "q" + if: ${{ runner.os != 'Windows' && steps.parsers-cache.outputs.cache-hit != 'true' }} + run: nvim -l ./scripts/install-parsers.lua - name: Tests run: PATH=/usr/local/bin:$PATH ./scripts/run_tests.sh |
