Skip to content

Expose FormulaAST from C++ to Python #464

Expose FormulaAST from C++ to Python

Expose FormulaAST from C++ to Python #464

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- master
- main
- develop
jobs:
pre-commit:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v3
with:
python-version: 3.11.3
- uses: pre-commit/[email protected]
with:
extra_args: --hook-stage manual --all-files
checks:
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11"]
runs-on: [ubuntu-latest, macos-latest, windows-latest]
include:
- python-version: pypy-3.7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install package
run: python -m pip install .[test]
- name: Test package
run: python -m pytest -ra