From 7c458f74d864fd25d73d818634c0e86d63bc37ca Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:13:10 +0000 Subject: [PATCH 1/3] github-actions(deps): bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1289fdf2..be2bd051 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -42,7 +42,7 @@ 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 }} From b95097ced2853063209e4fa82a64446bb0adc23e Mon Sep 17 00:00:00 2001 From: Thomas Carmet <8408330+tcarmet@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:12:07 +0000 Subject: [PATCH 2/3] Add codecov token and config --- .github/workflows/tests.yaml | 2 ++ codecov.yml | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 codecov.yml diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index be2bd051..d0d0f63d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -46,6 +46,8 @@ jobs: 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..2f1a86d5 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,10 @@ +--- +coverage: + status: + project: + default: + target: auto + threshold: 1% +codecov: + notify: + wait_for_ci: true From 727483fd45ac14436fef0b682ac1ddb7fabce9e3 Mon Sep 17 00:00:00 2001 From: Thomas Carmet <8408330+tcarmet@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:13:58 +0000 Subject: [PATCH 3/3] Add default flags --- codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/codecov.yml b/codecov.yml index 2f1a86d5..be53746c 100644 --- a/codecov.yml +++ b/codecov.yml @@ -5,6 +5,9 @@ coverage: default: target: auto threshold: 1% + flags: + - unit + - api codecov: notify: wait_for_ci: true