aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-01-31 21:45:56 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-31 23:05:51 +0100
commit6799824f6b9b9185622e79cda7eebb03c6f6ac15 (patch)
treef80528d9ef16fcd8756a42e5a6fa73e63fb9f0a1 /.github
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar.gz
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar.bz2
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar.lz
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar.xz
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.tar.zst
nvim-treesitter-6799824f6b9b9185622e79cda7eebb03c6f6ac15.zip
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check-query-files-and-compilation.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/check-query-files-and-compilation.yml b/.github/workflows/check-query-files-and-compilation.yml
index ed8fa1705..259f7d2ab 100644
--- a/.github/workflows/check-query-files-and-compilation.yml
+++ b/.github/workflows/check-query-files-and-compilation.yml
@@ -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"