From 92bc601c505fa465069ece7a6dae2a3fe649e5e3 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 8 Mar 2021 12:58:05 +0100 Subject: Check query files on all OSes --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.github') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index da5fcab33..3c4808bb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,10 @@ jobs: run: | nvim --headless -c "TSInstallSync all" -c "q" + - name: Check query files (Unix) + if: matrix.os != 'windows-latest' + run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q" + - name: Compile parsers Windows if: matrix.os == 'windows-latest' run: | @@ -46,6 +50,10 @@ jobs: run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser shell: bash + - name: Check query files (Windows) + if: matrix.os != 'windows-latest' + run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q" + - uses: actions/upload-artifact@v2 with: name: parsers-${{ matrix.os }}-${{ matrix.cc }}-x86_64 -- cgit v1.2.3-70-g09d2