-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 989 Bytes
/
ci-pixi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: CI Pixi
on:
- push
- pull_request
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-2022", "macos-latest"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.33.0
cache: false
- name: Install
run: |
pixi run install-editable
pixi run pip install plugins/fluidfft-fftw -v --no-build-isolation --no-deps
pixi run python -c "import fluidfft_fftw.fft2d as m; print(m)"
pixi run python -c "import fluidfft_fftw.fft2d.with_fftw1d"
pixi run python -c "import fluidfft_fftw.fft2d.with_fftw2d"
pixi run python -c "import fluidfft_fftw.fft3d.with_fftw3d"
- name: Tests
run: |
pixi run pytest -v -s tests
pixi run pytest -v -s plugins/fluidfft-fftw