fix wheel/sdist build #432
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
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 |