From 8b20c3fb5c44dd3cb7549360cb128cabc1d1aa04 Mon Sep 17 00:00:00 2001 From: Guillermo Perez Date: Tue, 14 May 2024 19:32:25 +0200 Subject: [PATCH] Adjust codecov settings (#1830) * remove pr annotations * disable failing CI --- .github/workflows/codecov.yml | 19 ++++++++++--------- codecov.yaml | 7 +++++++ 2 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 codecov.yaml diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 95438ad86f..29c544a396 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -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) diff --git a/codecov.yaml b/codecov.yaml new file mode 100644 index 0000000000..429e2a3a5e --- /dev/null +++ b/codecov.yaml @@ -0,0 +1,7 @@ +github_checks: + annotations: false +coverage: + status: + project: + default: + informational: true \ No newline at end of file