Skip to content

Fix jobs structural error in publish workflow #13

Fix jobs structural error in publish workflow

Fix jobs structural error in publish workflow #13

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
name: Test on ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.10", "3.12"]
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
run: |
python -m pip install --upgrade pip
pip install uv
- name: Install libomp (macOS)
if: runner.os == 'macOS'
run: brew install libomp
- name: Build and install
run: uv pip install --system -e .
- name: Install pytest
run: uv pip install --system pytest
- name: Run tests
run: pytest