Skip to content

Commit

Permalink
Gihub Actions Windows with Pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Jan 17, 2024
1 parent 223962f commit f9c3d1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
10 changes: 0 additions & 10 deletions .github/environment-windows.yml

This file was deleted.

18 changes: 6 additions & 12 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: prefix-dev/setup-[email protected]
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

0 comments on commit f9c3d1a

Please sign in to comment.