Skip to content

Pypi

Pypi #39

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
pytest:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash
run: |
if [[ ${{ matrix.os }} = "macos-latest" ]]; then
export CXX=g++-13
g++-13 --version
fi
python -m pip install --upgrade pip
python -m pip install .[test]
- name: Test with pytest
run: |
pytest -vv tests