diff --git a/.github/environment-windows.yml b/.github/environment-windows.yml deleted file mode 100644 index b642e9c2..00000000 --- a/.github/environment-windows.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: - test -dependencies: - - fluidfft - - pyfftw - - fluiddyn - - pandas - - matplotlib - - pytest - - ipython diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 04484f03..8e2bf857 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -16,18 +16,12 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: prefix-dev/setup-pixi@v0.4.1 with: - environment-file: .github/environment-windows.yml - miniforge-variant: Mambaforge - miniforge-version: latest - activate-environment: test - use-mamba: true - - name: Install - run: | - pip install . -v + pixi-version: v0.11.1 + cache: false - name: Tests run: | - python -m pip install pytest-allclose pytest-mock - python -m pip install "pymech @ git+https://github.com/eX-Mech/pymech.git" - pytest -v + pixi run install-editable + pixi run pytest ./fluidsim -v + # pixi run mpirun -np 2 pytest ./fluidsim -v --exitfirst