Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelzw committed Jun 4, 2024
1 parent 0867db5 commit a060ac7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
environments: default lint
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
with:
key: "pre-commit"
key: pre-commit
- name: pre-commit
run: pixi run pre-commit-run --color=always --show-diff-on-failure

Expand All @@ -41,6 +41,6 @@ jobs:
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
with:
key: "tests"
key: tests
- name: Run test
run: pixi run test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ You can then install the environment using `conda` or `micromamba`:

```bash
tar --zstd -xvf environment.tar.zstd
micromamba create -p ./env --file environment.yml --override-channels -c "file://$(pwd)/channel"
micromamba create -p ./env --file environment.yml"
# or
conda create -p ./env --file environment.yml --override-channels -c "file://$(pwd)/channel"
conda env create -p ./env --file environment.yml"
```

> [!NOTE]
Expand Down
7 changes: 6 additions & 1 deletion tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,12 @@ async fn test_compatibility(
} else {
vec!["create", "-y", "-p", prefix_str, "-f", "environment.yml"]
};
let output = Command::new(tool)
let tool_exe = if cfg!(windows) {
format!("{}.exe", tool)
} else {
tool.to_string()
};
let output = Command::new(tool_exe)
.args(args)
.current_dir(unpack_dir)
.output()
Expand Down

0 comments on commit a060ac7

Please sign in to comment.