Files
gp4/.github/workflows/main.yaml
T
Will Hawkins 65583a7a42 Add CI For Grammar (9)
Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
2026-01-17 01:01:19 -05:00

25 lines
552 B
YAML

on: [push, pull_request]
name: Continuous Integration
jobs:
grammar-tests:
name: Grammar Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./tree-sitter-p4
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
- uses: tree-sitter/setup-action@v2
with:
install-cli: true
- shell: bash
run: pwd
- run: ls -latr
- uses: tree-sitter/parser-test-action@v3
- run: pwd
- run: tree-sitter generate
- run: tree-sitter test