Skip to content

Commit

Permalink
ci: parse filters from NeverSink
Browse files Browse the repository at this point in the history
  • Loading branch information
ObserverOfTime committed Feb 23, 2024
1 parent 3f37004 commit b518ea5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
name: Test grammar
name: CI

on:
push:
branches: ["*"]
branches: [master]
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp
pull_request:
branches: ["*"]
paths:
- grammar.js
- src/**
- bindings/**
- binding.gyp

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
test:
uses: tree-sitter-grammars/.github/.github/workflows/ci.yml@main
name: Test parser
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
steps:
- name: Set up repository
uses: tree-sitter-grammars/actions/setup@main
with:
submodules: true
node-version: ${{vars.NODE_VERSION}}
- name: Run tests
uses: tree-sitter-grammars/actions/test@main
with:
test-library: ${{runner.os == 'Linux'}}
examples: examples/NeverSink-Filter/**/*.filter
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "NeverSink-Filter"]
path = examples/NeverSink-Filter
url = https://github.com/NeverSinkDev/NeverSink-Filter
shallow = true
1 change: 1 addition & 0 deletions examples/NeverSink-Filter
Submodule NeverSink-Filter added at 92440c

0 comments on commit b518ea5

Please sign in to comment.