From 6799824f6b9b9185622e79cda7eebb03c6f6ac15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Mon, 31 Jan 2022 21:45:56 +0100 Subject: 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 --- .github/workflows/check-query-files-and-compilation.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.github') diff --git a/.github/workflows/check-query-files-and-compilation.yml b/.github/workflows/check-query-files-and-compilation.yml index ed8fa170..259f7d2a 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" -- cgit v1.2.3