Skip to content

Commit

Permalink
fix: test failure on riscv64
Browse files Browse the repository at this point in the history
Those tests' results are affected by unsupported platform error. Adding riscv64 to platforms fixes the issue on it.
  • Loading branch information
hack3ric committed Mar 22, 2024
1 parent 6e42ab0 commit 88c6d41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/task/task_environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ mod tests {
[project]
name = "foo"
channels = ["foo"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64", "linux-riscv64"]
[tasks]
test = "cargo test"
Expand All @@ -252,7 +252,7 @@ mod tests {
[project]
name = "foo"
channels = ["foo"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64", "linux-riscv64"]
[tasks]
test = "pytest"
Expand Down Expand Up @@ -319,7 +319,7 @@ mod tests {
[project]
name = "foo"
channels = ["foo"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64"]
platforms = ["linux-64", "osx-arm64", "win-64", "osx-64", "linux-riscv64"]
[tasks]
bla = "echo foo"
Expand Down
4 changes: 2 additions & 2 deletions src/task/task_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ mod test {
[project]
name = "pixi"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64", "linux-riscv64"]
"#,
&["echo bla"],
None,
Expand Down Expand Up @@ -538,7 +538,7 @@ mod test {
[project]
name = "pixi"
channels = ["conda-forge"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64"]
platforms = ["linux-64", "osx-64", "win-64", "osx-arm64", "linux-riscv64"]
[tasks]
foo = "echo foo"
Expand Down

0 comments on commit 88c6d41

Please sign in to comment.