diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-05-29 16:52:20 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2025-05-12 18:43:40 +0200 |
| commit | 9c0a99819c99d70d28334dc6ea1c3ac773e4fed1 (patch) | |
| tree | 24d6d9ebdf2b9aa9a11c9ee271fa5e80d96fe6da /.github/workflows/test-queries.yml | |
| parent | refactor: rewrite installation using jobs and async (diff) | |
| download | nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.gz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.bz2 nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.lz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.xz nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.zst nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.zip | |
ci: remove update-lockfile shell script
Diffstat (limited to '.github/workflows/test-queries.yml')
| -rw-r--r-- | .github/workflows/test-queries.yml | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml index 5e9be1e38..bb11db3dc 100644 --- a/.github/workflows/test-queries.yml +++ b/.github/workflows/test-queries.yml @@ -1,12 +1,12 @@ name: Test queries 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: @@ -24,29 +24,29 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-14] cc: [gcc, clang] - nvim_tag: [v0.10.4] + nvim_tag: [nightly] exclude: - os: ubuntu-latest cc: clang - nvim_tag: v0.10.4 + nvim_tag: nightly - os: macos-14 cc: gcc - nvim_tag: v0.10.4 - - - os: windows-latest - cc: clang - nvim_tag: v0.10.4 - - include: - - os: windows-latest - cc: cl nvim_tag: nightly - - os: ubuntu-latest + - os: windows-latest cc: gcc nvim_tag: nightly + # include: + # - os: windows-latest + # cc: cl + # nvim_tag: nightly + + # - os: ubuntu-latest + # cc: gcc + # nvim_tag: nightly + name: Parser compilation runs-on: ${{ matrix.os }} env: @@ -69,8 +69,8 @@ jobs: uses: actions/cache@v4 with: path: | - ./parser/ - ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/ + ~/.local/share/nvim/site/parser/ + ~/AppData/Local/nvim-data/site/parser/ key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles( './lockfile.json', './lua/nvim-treesitter/install.lua', @@ -78,11 +78,7 @@ jobs: './lua/nvim-treesitter/shell_command_selectors.lua') }} - name: Compile parsers - run: $NVIM --headless -c "lua require'nvim-treesitter.install'.prefer_git=false" -c "TSInstallSync all" -c "q" - - - name: Post compile Windows - if: runner.os == 'Windows' - run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser + run: $NVIM -l ./scripts/install-parsers.lua - name: Check query files run: $NVIM -l ./scripts/check-queries.lua |
