Skip to content

Commit

Permalink
Adjust codecov settings (#1830)
Browse files Browse the repository at this point in the history
* remove pr annotations

* disable failing CI
  • Loading branch information
gpmayorga authored May 14, 2024
1 parent 0b961f0 commit 8b20c3f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,21 @@ jobs:
RUST_BACKTRACE: 1
run: |
cargo tarpaulin --timeout 300 -e runtime-integration-tests --features fast-runtime \
--exclude-files runtime/*/src/migrations.rs --exclude-files runtime/common/src/migrations \
--exclude-files pallets/rewards/src/migrations/new_instance.rs --exclude-files pallets/block-rewards/src/migrations.rs \
--workspace --exclude-files **/mock.rs **/weights.rs **/weights/* --out xml
--exclude-files runtime/*/src/migrations.rs \
--exclude-files runtime/common/src/migrations \
--exclude-files pallets/rewards/src/migrations/new_instance.rs \
--exclude-files pallets/block-rewards/src/migrations.rs \
--exclude-files **/mock.rs \
--exclude-files **/weights.rs \
--exclude-files **/weights/* \
--exclude-files node/ \
--exclude-files runtime \
--workspace --out xml
# UPLOAD REPORTS (requires cargo 1.70.0)
- name: Upload to codecov.io
if: ${{ always() }}
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: ./coverage1.xml,./coverage2.xml # optional
# flags: unittests # optional
# name: codecov-umbrella # optional
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
7 changes: 7 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
github_checks:
annotations: false
coverage:
status:
project:
default:
informational: true

0 comments on commit 8b20c3f

Please sign in to comment.