From f594e6510bd099ca85d3c7bb1a24ad8a7bf8ffc6 Mon Sep 17 00:00:00 2001 From: Orion Yeung <11580988+orionyeung001@users.noreply.github.com> Date: Wed, 15 May 2024 15:39:40 -0500 Subject: [PATCH] feat: reintroduce codecov reports uses oidc instead of token --- .github/workflows/test.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f9fd9cd..0670890a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Tests on: push: - branches: [ master ] + branches: [ master, test-ci ] pull_request: branches: [ master ] @@ -36,4 +36,16 @@ jobs: cargo test --target ${{ matrix.target }} --benches --features=nightly - name: Test default features run: | - cargo test --target ${{ matrix.target }} \ No newline at end of file + cargo test --target ${{ matrix.target }} + codecov: + name: CodeCov Report + needs: [ test ] + steps: + - uses: actions/checkout@main + - uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true # optional (default = false) + files: ./coverage1.xml,./coverage2.xml # optional + flags: unittests # optional + name: codecov-umbrella # optional + use_oidc: true