ci: skip swift check on neovim stable

This is meant as a temporary workaround until neovim 0.7 is released.

More context: https://github.com/nvim-treesitter/nvim-treesitter/issues/2313#issuecomment-1025258357
This commit is contained in:
Dundar Göc 2022-01-31 21:45:56 +01:00 committed by Stephan Seitz
parent 51a09ce8a2
commit 6799824f6b
2 changed files with 33 additions and 22 deletions

View file

@ -84,7 +84,14 @@ jobs:
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
shell: bash
# NOTE: this is a temporary workaround to skip swift tests on ubuntu
# stable and should be removed once neovim 0.7 is released.
- if: matrix.os == 'ubuntu-latest' && matrix.nvim_tag == 'stable'
run: echo "SKIP_SWIFT_CHECK=TRUE" >> $GITHUB_ENV
- name: Check query files (Unix)
env:
SKIP_SWIFT_CHECK: ${{ env.SKIP_SWIFT_CHECK }}
if: matrix.os != 'windows-2022'
run: nvim --headless -c "luafile ./scripts/check-queries.lua" -c "q"