Skip to content

Commit

Permalink
CI with pixi
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Jan 9, 2024
1 parent 10b61c8 commit 6f70890
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ stages:
- test-release
- report
- doc
- conda

variables:
COVERAGE_DIR: .coverage_$CI_COMMIT_SHA
Expand Down Expand Up @@ -160,3 +161,18 @@ pages:
- public
expire_in: 5 days
when: always


test_conda:
stage: conda
image: debian:bookworm
script:
- wget https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz
- tar -xzf pixi-x86_64-unknown-linux-musl.tar.gz .
- mkdir -p $HOME/.local/bin
- mv pixi $HOME/.local/bin
- pixi info
- pixi run install-editable
- pixi run pytest -v lib
- pixi run fluidsim-test -v
- pixi run mpirun -np 2 fluidsim-test -v --exitfirst

0 comments on commit 6f70890

Please sign in to comment.