Skip to content

Fix SBML math parsing by using sbmlmath instead of sympy.sympify (#509) #3859

Fix SBML math parsing by using sbmlmath instead of sympy.sympify (#509)

Fix SBML math parsing by using sbmlmath instead of sympy.sympify (#509) #3859

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '48 4 * * *'
jobs:
build:
strategy:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.12", "3.14"]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Install uv and python ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v9.0.0
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- name: Quality tests
run: uvx pre-commit run --all-files
if: matrix.platform == 'ubuntu-latest'
- name: Unit tests
run: |
uv sync --group ci
uv pip list
uv run pytest --cov=petab --cov-report=xml --cov-append --durations=10 tests
- name: Coverage
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.14'