You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Tree-sitter parser tests
v1.1
lint:
description: Enable linting
default: false
generate:
description: Verify the generated parser
default: false
test-grammar:
description: Test the grammar
default: true
test-library:
description: Test the rust library
default: true
examples:
description: Glob patterns of example files to parse
name: CI
on:
push:
branches: [master]
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp
pull_request:
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: tree-sitter/[email protected]
with:
node-version: 20
- uses: tree-sitter/[email protected]
with:
examples: |-
examples/*