Skip to content

Commit

Permalink
fix: alltargets for tarpaulin
Browse files Browse the repository at this point in the history
  • Loading branch information
kristof-mattei committed Dec 12, 2021
1 parent 4b3c70d commit 3ba7006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,20 +241,17 @@ jobs:
- name: Run tarpaulin
run: |
mkdir reports
# --all-targets omitted
cargo tarpaulin --output-dir reports --out Lcov --workspace --all-features -- -Z unstable-options --format json | cargo2junit > reports/result.xml
cargo tarpaulin --run-types AllTargets --output-dir reports --out Lcov --workspace --all-features -- -Z unstable-options --format json | cargo2junit > reports/result.xml;
continue-on-error: true

- name: Upload test results
if: ${{ always() }}
uses: EnricoMi/publish-unit-test-result-action@8c0ddccd03f69215064876293657094714331b04
with:
check_name: Test Results
github_token: ${{ secrets.GITHUB_TOKEN }}
files: reports/result.xml

- name: Upload to CodeCov
if: ${{ always() }}
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b
with:
# # required for private repositories:
Expand Down
Empty file added reports/.gitkeep
Empty file.

0 comments on commit 3ba7006

Please sign in to comment.