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