diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1289fdf2..d0d0f63d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,10 +42,12 @@ jobs: env: GITHUB_TOKEN: test - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: ${{ matrix.test.name }} name: ${{ matrix.test.name }} + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Dump logs run: docker compose --profile tests logs if: always() diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..be53746c --- /dev/null +++ b/codecov.yml @@ -0,0 +1,13 @@ +--- +coverage: + status: + project: + default: + target: auto + threshold: 1% + flags: + - unit + - api +codecov: + notify: + wait_for_ci: true