diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6b806283..ffdd4b0a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: