-
Notifications
You must be signed in to change notification settings - Fork 22
40 lines (35 loc) · 941 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (35 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2022, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v2
with:
tree-sitter-ref: v0.26.11
- name: Run tests
uses: tree-sitter/parser-test-action@v3
with:
test-rust: true
test-node: true
node-version: 22 # https://github.com/tree-sitter/node-tree-sitter/issues/268
test-python: true
test-go: true
- name: Run tests wild
if: runner.os != 'Windows'
continue-on-error: true
run: node scripts/test_wild.mjs