fix tests

disable Windows tests for now (hang on parser compile)
This commit is contained in:
Christian Clason 2023-05-30 14:27:54 +02:00
parent 7681249bbd
commit 008cc677d2
12 changed files with 73 additions and 65 deletions

View file

@ -1,12 +1,12 @@
name: Tests
on:
push:
branches:
- "master"
# push:
# branches:
# - "main"
pull_request:
branches:
- "master"
- "main"
# Cancel any in-progress CI runs for a PR if it is updated
concurrency:
@ -42,7 +42,7 @@ jobs:
- name: Install and prepare Neovim
env:
NVIM_TAG: stable
NVIM_TAG: nightly
TREE_SITTER_CLI_TAG: v0.20.8
run: |
bash ./scripts/ci-install-${{ matrix.os }}.sh
@ -58,8 +58,7 @@ jobs:
- name: Compile parsers Unix like
if: ${{ matrix.os != 'windows-latest' && steps.parsers-cache.outputs.cache-hit != 'true' }}
run: |
nvim --headless -c "TSInstallSync all" -c "q"
run: nvim -l ./scripts/install-parsers.lua
- name: Tests
run: PATH=/usr/local/bin:$PATH ./scripts/run_tests.sh