Skip to content

Commit

Permalink
Set pixi-version to v0.30.0
Browse files Browse the repository at this point in the history
Instead of latest. All PRs made since v0.31 came out seem to have pixi environment related issues. Checking if this will fix it.

#1867 green with v0.30
#1868 red with v0.31
#1869 red with v0.31

This is the error, that somewhat randomly appears during `pixi run`

```
  × /home/runner/work/Ribasim/Ribasim/.pixi/envs/dev/lib/gcc/x86_64-conda-
  │ linux-gnu/14.1.0/libhwasan.so: No such file or directory (os error 2)
```
  • Loading branch information
visr committed Oct 3, 2024
1 parent f6b8321 commit 9f83df0
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/core_testmodels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache-registries: "true"
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Prepare pixi
run: pixi run install-ci
- name: Run testmodels with Ribasim Core
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache-registries: "true"
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Test Ribasim Core
run: |
pixi run test-ribasim-core-cov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache-registries: "true"
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Prepare pixi
run: pixi run install-ci

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/julia_auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Update Julia manifest file
run: |
pixi run install-julia
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Run mypy on python/ribasim
run: |
pixi run mypy-ribasim-python
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pixi_auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- name: Set up pixi
uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: v0.30.0
run-install: false
- name: Update lockfiles
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Test if codegen runs without errors
run: pixi run codegen
- name: Ensure that no code has been generated
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Test Ribasim Python
run: pixi run --environment ${{ matrix.pixi-environment }} test-ribasim-python-cov
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qgis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
pixi-version: "latest"
pixi-version: v0.30.0
- name: Run tests
run: pixi run test-ribasim-qgis-docker
- name: Upload coverage to Codecov
Expand Down

0 comments on commit 9f83df0

Please sign in to comment.