From ab6377a30a474284eb6bc0723dc8f5cc8fe832e8 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Sun, 5 Jan 2025 09:55:19 -0800 Subject: [PATCH] Fix tests-from-tarball for pre-versions --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: