Skip to content

Fix release workflow #434

Fix release workflow

Fix release workflow #434

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
permissions:
contents: read # to fetch code
actions: write # to cancel previous workflows
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
tests:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up uv
uses: astral-sh/setup-uv@v6
- name: Install fftw on ubuntu
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt-get install -y libfftw3-dev
- name: Install fftw on macos
if: ${{ matrix.os == 'macos-latest' }}
run: brew install fftw
- name: Run tests
run: uv run --extra test --python 3.12 pytest -n auto tests