Skip to content

Commit a060ac7

Browse files
committed
small fixes
1 parent 0867db5 commit a060ac7

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
environments: default lint
2121
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
2222
with:
23-
key: "pre-commit"
23+
key: pre-commit
2424
- name: pre-commit
2525
run: pixi run pre-commit-run --color=always --show-diff-on-failure
2626

@@ -41,6 +41,6 @@ jobs:
4141
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
4242
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
4343
with:
44-
key: "tests"
44+
key: tests
4545
- name: Run test
4646
run: pixi run test

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ You can then install the environment using `conda` or `micromamba`:
113113

114114
```bash
115115
tar --zstd -xvf environment.tar.zstd
116-
micromamba create -p ./env --file environment.yml --override-channels -c "file://$(pwd)/channel"
116+
micromamba create -p ./env --file environment.yml"
117117
# or
118-
conda create -p ./env --file environment.yml --override-channels -c "file://$(pwd)/channel"
118+
conda env create -p ./env --file environment.yml"
119119
```
120120

121121
> [!NOTE]

tests/integration_test.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,12 @@ async fn test_compatibility(
148148
} else {
149149
vec!["create", "-y", "-p", prefix_str, "-f", "environment.yml"]
150150
};
151-
let output = Command::new(tool)
151+
let tool_exe = if cfg!(windows) {
152+
format!("{}.exe", tool)
153+
} else {
154+
tool.to_string()
155+
};
156+
let output = Command::new(tool_exe)
152157
.args(args)
153158
.current_dir(unpack_dir)
154159
.output()

0 commit comments

Comments
 (0)