mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Remove query file workflow (tested now on all OS
This commit is contained in:
parent
92bc601c50
commit
606341a139
2 changed files with 3 additions and 33 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: Parser compilation and tests
|
||||
name: Parser compilation and query file check
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
|
|
@ -51,8 +51,8 @@ jobs:
|
|||
shell: bash
|
||||
|
||||
- name: Check query files (Windows)
|
||||
if: matrix.os != 'windows-latest'
|
||||
run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: C:\\tools\\neovim\\Neovim\\bin\\nvim.exe --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
30
.github/workflows/check_query_files.yml
vendored
30
.github/workflows/check_query_files.yml
vendored
|
|
@ -1,30 +0,0 @@
|
|||
name: Check loading of syntax files
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
luacheck:
|
||||
name: Check Query Files
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Prepare
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo add-apt-repository universe
|
||||
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
|
||||
chmod u+x nvim.appimage
|
||||
mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start
|
||||
|
||||
- name: Compile parsers
|
||||
run: ./nvim.appimage --headless -c "TSInstallSync all" -c "q"
|
||||
|
||||
- name: Check query files
|
||||
run: ./nvim.appimage --headless -c "luafile ./scripts/check-queries.lua" -c "q"
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: parsers
|
||||
path: parser/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue