style: format queries #59
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: Parser tests | |
on: [push, pull_request] | |
jobs: | |
test_parser: | |
strategy: | |
fail-fast: false | |
name: Testing | |
runs-on: ubuntu-latest | |
env: | |
CC: clang | |
steps: | |
- name: Prepare tree-sitter | |
uses: actions/checkout@v2 | |
with: | |
repository: tree-sitter/tree-sitter | |
- name: Prepare tree-sitter-http | |
uses: actions/checkout@v2 | |
with: | |
path: test/fixtures/grammars/http | |
- name: Install tree-sitter CLI | |
run: | | |
cd test/fixtures/grammars/http | |
npm install tree-sitter-cli | |
- name: Run tests | |
run: | | |
cd test/fixtures/grammars/http | |
./node_modules/tree-sitter-cli/tree-sitter test |