chore: adjust Neovim queries #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI on PRs to main | |
on: | |
pull_request: | |
branches: ["main"] | |
paths: | |
- grammar.js | |
- src/** | |
- test/** | |
- bindings/** | |
- binding.gyp | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Parser tests | |
runs-on: ${{matrix.os}} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-14] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: tree-sitter/setup-action/cli@v1 | |
- uses: tree-sitter/parser-test-action@v2 | |
with: | |
generate: true | |
test-parser: true | |
# test-parser-cmd: tree-sitter test # default | |
test-rust: ${{runner.os != 'Windows'}} | |
test-node: ${{runner.os != 'Windows'}} | |
test-python: false # default | |
test-go: false # default | |
test-swift: false # default | |
- name: Check correspondence to Ohm parser | |
if: ${{ runner.os != 'Windows' }} | |
run: | | |
git clone https://github.com/tact-lang/tact.git -b "v$(jq -r '.version' < package.json)" | |
npm run parse -- -q tact/src/grammar/test/*.tact |