Skip to content

Update pixi and setup-pixi with environments #120

Update pixi and setup-pixi with environments

Update pixi and setup-pixi with environments #120

Workflow file for this run

name: CI Pixi
on:
- push
- pull_request
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-2022", "macos-latest"]
environment: [py310, py311, py312, py313]
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- uses: prefix-dev/[email protected]
with:
pixi-version: v0.35.0
cache: false
environments: ${{ matrix.environment }}
- 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)"
ls .pixi/envs/default/Lib/site-packages/fluidfft_fftw/fft2d
pixi run python -c "import fluidfft_fftw.fft2d.with_fftw1d"
- name: Tests
run: |
pixi run pytest -v -s tests
pixi run pytest -v -s plugins/fluidfft-fftw