Skip to content

fix(query): store generic predicate pattern index (#388) #544

fix(query): store generic predicate pattern index (#388)

fix(query): store generic predicate pattern index (#388) #544

Workflow file for this run

name: CI
on:
push:
branches: [master]
paths:
- tree_sitter/**
- tests/**
- .github/workflows/ci.yml
pull_request:
paths:
- tree_sitter/**
- tests/**
- .github/workflows/ci.yml
workflow_dispatch:
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
os:
- ubuntu-24.04
- ubuntu-24.04-arm
- macos-15
- macos-13
- windows-2022
- windows-11-arm
exclude:
- os: windows-11-arm
python: "3.10"
runs-on: ${{matrix.os}}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python}}
- name: Lint
continue-on-error: true
run: pipx run ruff check . --output-format=github
- name: Build
run: pip install -v -e .[tests]
env:
CFLAGS: -Wextra -Og -g -fno-omit-frame-pointer
- name: Test
run: python -munittest -v
# FIXME: remove when the tests stop crashing
continue-on-error: ${{runner.os == 'Windows'}}