Skip to content

Commit

Permalink
add exclusions, upload test results always
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Feb 27, 2024
1 parent 6386f60 commit 1982135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ jobs:
RUST_BACKTRACE: 1
RUSTC_WRAPPER: sccache
run: |
cargo tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --exclude-files runtime/*/src/weights/** --out xml --out html
cargo tarpaulin --verbose --no-fail-fast --workspace --timeout 300 --exclude-files **/mock.rs **/weights.rs **/weights/* --out xml --out html
ls -la
# UPLOAD REPORTS (requires cargo 1.70.0)
- name: Upload to codecov.io
if: ${{ always() }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit 1982135

Please sign in to comment.