summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2021-03-08 12:58:05 +0100
committerKiyan <yazdani.kiyan@protonmail.com>2021-03-16 18:52:43 +0100
commit92bc601c505fa465069ece7a6dae2a3fe649e5e3 (patch)
tree234668f141cd55f2d0e48c1bbc4b7b17aef94c84 /.github/workflows
parent7a7a56d0f10133c94627e8c155b9a2c8b1744837 (diff)
Check query files on all OSes
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index da5fcab3..3c4808bb 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