From 999db88fc3c3b2e0b3190a59f3ca730c89ad2691 Mon Sep 17 00:00:00 2001 From: Eric Long Date: Mon, 25 Mar 2024 15:37:09 +0800 Subject: [PATCH] fix: test failure on riscv64 (#1045) --- src/task/task_environment.rs | 6 +++--- src/task/task_graph.rs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/task/task_environment.rs b/src/task/task_environment.rs index 27661f2ac..6d3261417 100644 --- a/src/task/task_environment.rs +++ b/src/task/task_environment.rs @@ -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" @@ -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" @@ -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" diff --git a/src/task/task_graph.rs b/src/task/task_graph.rs index 5b0739e47..e666b8cca 100644 --- a/src/task/task_graph.rs +++ b/src/task/task_graph.rs @@ -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, @@ -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"