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 325e533
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
stages:
- conda
- image
- lint
- test
- test-release
- report
- test-release
- doc

variables:
Expand All @@ -26,6 +27,24 @@ workflow:
# - pip install requests
# - python3.9 tmp_bug_unearth.py


test_conda:
stage: conda
image: debian:bookworm
script:
- apt-get update
- apt-get install wget tar
- 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


# Build an image for the other tasks; this should be a scheduled job, as
# it is quite unnecessary to run on every invocation.
CI image:
Expand Down

0 comments on commit 325e533

Please sign in to comment.