diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a9b942721b..233bebbf743 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,8 +108,9 @@ jobs: - name: Upload Unit Test Coverage to Codecov if: ${{ matrix.python-version == '3.11' }} uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: unit integration-metadata: name: integration test metadata generation @@ -221,8 +222,9 @@ jobs: - name: Upload Integration Test Coverage to Codecov if: ${{ matrix.python-version == '3.11' }} uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: ${{ secrets.CODECOV_TOKEN }} + flags: integration integration-report: name: Integration Test Suite diff --git a/codecov.yml b/codecov.yml index e69de29bb2d..d55c2754e82 100644 --- a/codecov.yml +++ b/codecov.yml @@ -0,0 +1,6 @@ +coverage: + status: + project: + default: + target: auto + threshold: 0.01% # Reduce noise by ignoring rounding errors in coverage drops