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

26 lines
596 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
working-directory: ./tree-sitter-p4
- run: pwd
- run: tree-sitter generate
- run: tree-sitter test