Skip to content

Commit

Permalink
Fix tests-from-tarball for pre-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sourcefrog committed Jan 5, 2025
1 parent 3fe2899 commit ab6377a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ jobs:
with:
tool: nextest
- name: Run tests from package
# A clunky way to cd into the likely unpacked name, excluding the directory,
# still matching e.g. `1.2.3-pre2`.
run: |
cd target/package/cargo-mutants-*.*.[0-9]
cd target/package/cargo-mutants-*[0-9]
cargo test
pr-mutants:
Expand Down

0 comments on commit ab6377a

Please sign in to comment.