Skip to content

Commit

Permalink
ci: another attempt at fixing up windows path
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Apr 6, 2024
1 parent 9b082e5 commit cce0706
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gen_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
crate: "cargo-nextest"
cache-key: "windows"
- name: "Test"
shell: bash
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo nextest run --all --no-fail-fast
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_windows_continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
crate: "cargo-nextest"
cache-key: "windows"
- name: "Test"
shell: bash
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo nextest run --all --no-fail-fast
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen_windows_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
crate: "cargo-nextest"
cache-key: "windows"
- name: "Test"
shell: bash
shell: cmd
run: |
PATH C:\Strawberry\perl\bin;%PATH%
cargo nextest run --all --no-fail-fast
Expand Down
7 changes: 3 additions & 4 deletions ci/generate-workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,9 @@ def test_all(self):
# Install cargo-nextest
InstallCrateStep("cargo-nextest", key=self.name),
# Run tests
RunStep(
name="Test",
run=self.fixup_windows_path(run),
),
RunStep(name="Test", run=self.fixup_windows_path(run), shell="cmd")
if "win" in self.name
else RunStep(name="Test", run=run),
]

def package(self, trusted=False):
Expand Down

0 comments on commit cce0706

Please sign in to comment.