diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2021-03-08 13:02:53 +0100 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-03-16 18:52:43 +0100 |
| commit | 606341a1396dc4d4264d8247696b6e508ac42e37 (patch) | |
| tree | 4d793c1ae9f5970ed6de2f8f26457d3ee3ac94d0 /.github | |
| parent | Check query files on all OSes (diff) | |
| download | nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar.gz nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar.bz2 nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar.lz nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar.xz nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.tar.zst nvim-treesitter-606341a1396dc4d4264d8247696b6e508ac42e37.zip | |
Remove query file workflow (tested now on all OS
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/check-query-files-and-compilation.yml (renamed from .github/workflows/test.yml) | 6 | ||||
| -rw-r--r-- | .github/workflows/check_query_files.yml | 30 |
2 files changed, 3 insertions, 33 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/check-query-files-and-compilation.yml index 3c4808bb1..546d56157 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/check-query-files-and-compilation.yml @@ -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: diff --git a/.github/workflows/check_query_files.yml b/.github/workflows/check_query_files.yml deleted file mode 100644 index 45019dab6..000000000 --- a/.github/workflows/check_query_files.yml +++ /dev/null @@ -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/* |
