Skip to content

Lock file maintenance (#31) #101

Lock file maintenance (#31)

Lock file maintenance (#31) #101

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
paths:
- grammar.js
- src/**
- test/**
- bindings/**
- binding.gyp
jobs:
test:
name: Test parser
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v1
- name: Run tests
uses: tree-sitter/parser-test-action@v2
with:
test-rust: ${{runner.os == 'Linux'}}
test-node: true
test-python: true
test-go: true
test-swift: ${{runner.os == 'macOS'}}
- name: Parse examples
uses: tree-sitter/parse-action@v4
with:
files: examples/*