Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Jun 5, 2024
1 parent 08e9bab commit 55ebde7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
os: ubuntu-latest
- target: aarch64-unknown-linux-musl
os: ubuntu-latest-arm-4core
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest-arm-4core
- target: x86_64-pc-windows-msvc
os: windows-latest
- target: aarch64-apple-darwin
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ jobs:
fetch-depth: 0
- name: Set up pixi
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
with:
activate-environment: true
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
with:
key: tests
Expand Down
8 changes: 4 additions & 4 deletions tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ async fn test_simple_python(options: Options, required_fs_objects: Vec<&'static
let pack_file = unpack_options.pack_file.clone();

let pack_result = pixi_pack::pack(pack_options).await;
assert!(pack_result.is_ok());
assert!(pack_file.is_file());
assert!(pack_result.is_ok(), "{:?}", pack_result);
assert!(pack_file.exists());
assert!(pack_file.is_file());

let env_dir = unpack_options.output_directory.join("env");
let activate_file = unpack_options.output_directory.join("activate.sh");
let unpack_result = pixi_pack::unpack(unpack_options).await;
assert!(unpack_result.is_ok());
assert!(unpack_result.is_ok(), "{:?}", unpack_result);
assert!(activate_file.is_file());
assert!(activate_file.exists());

Expand All @@ -119,7 +119,7 @@ async fn test_compatibility(

let pack_result = pixi_pack::pack(pack_options).await;
println!("{:?}", pack_result);
assert!(pack_result.is_ok());
assert!(pack_result.is_ok(), "{:?}", pack_result);
assert!(pack_file.is_file());
assert!(pack_file.exists());

Expand Down

0 comments on commit 55ebde7

Please sign in to comment.