Use --force to install cargo2junit
This probably appeared now because it's the first time this tool was cached from a previous run.
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
- name: Test and report
|
- name: Test and report
|
||||||
if: matrix.extra
|
if: matrix.extra
|
||||||
run: |
|
run: |
|
||||||
cargo install cargo2junit
|
cargo install cargo2junit --force
|
||||||
cargo test --all -- -Z unstable-options --format json --report-time | cargo2junit > cargo_test_results.xml
|
cargo test --all -- -Z unstable-options --format json --report-time | cargo2junit > cargo_test_results.xml
|
||||||
- name: Publish cargo test results artifact
|
- name: Publish cargo test results artifact
|
||||||
if: matrix.extra
|
if: matrix.extra
|
||||||
|
|||||||
Reference in New Issue
Block a user