Skip to content

Commit 0d5add7

Browse files
committed
add a failing pixi env
1 parent 9d266d9 commit 0d5add7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ jobs:
8181
manifest-path: "envs/pixi.toml"
8282
policy-file: "policy.yaml"
8383
expected-failure: "false"
84+
- envs: "pixi:failing-env"
85+
manifest-path: "envs/pixi.toml"
86+
policy-file: "policy.yaml"
87+
expected-failure: "true"
8488

8589
steps:
8690
- name: clone the repository

envs/pixi.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[dependencies]
2-
numpy = "1.24"
32
pandas = "2.1"
43
packaging = "23.1"
54

@@ -9,6 +8,11 @@ python = "3.10"
98
[feature.py311.dependencies]
109
python = "3.11"
1110

11+
[feature.failing.dependencies]
12+
numpy = "2.1"
13+
14+
1215
[environments]
1316
env1 = { features = ["py310"] }
1417
env2 = ["py311"]
18+
failing-env = { features = ["failing"] }

0 commit comments

Comments
 (0)