mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Check query files on all OSes
This commit is contained in:
parent
7a7a56d0f1
commit
92bc601c50
1 changed files with 8 additions and 0 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue