From 38827ba29048bee86ee237c1294932bf6dda71d7 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 20 Feb 2024 08:58:27 +0100 Subject: [PATCH] ci: set codecov token Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/.test.yml | 3 +++ .github/workflows/.windows.yml | 2 ++ .github/workflows/test.yml | 1 + .github/workflows/windows-2019.yml | 1 + .github/workflows/windows-2022.yml | 1 + 5 files changed, 8 insertions(+) diff --git a/.github/workflows/.test.yml b/.github/workflows/.test.yml index 885f2ec954..cf172abcf9 100644 --- a/.github/workflows/.test.yml +++ b/.github/workflows/.test.yml @@ -62,6 +62,7 @@ jobs: directory: ./bundles env_vars: RUNNER_OS flags: unit + token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533 - name: Upload reports if: always() @@ -257,6 +258,7 @@ jobs: directory: ./bundles/test-integration env_vars: RUNNER_OS flags: integration,${{ matrix.mode }} + token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533 - name: Test daemon logs if: always() @@ -395,6 +397,7 @@ jobs: directory: ./bundles/test-integration env_vars: RUNNER_OS flags: integration-cli + token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533 - name: Test daemon logs if: always() diff --git a/.github/workflows/.windows.yml b/.github/workflows/.windows.yml index c25c4aae7d..fc89a27dec 100644 --- a/.github/workflows/.windows.yml +++ b/.github/workflows/.windows.yml @@ -182,6 +182,7 @@ jobs: directory: bundles env_vars: RUNNER_OS flags: unit + token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533 - name: Upload reports if: always() @@ -455,6 +456,7 @@ jobs: directory: bundles env_vars: RUNNER_OS flags: integration,${{ matrix.runtime }} + token: ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533 - name: Docker info run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e69dba43f6..3aeaa17df3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,6 +57,7 @@ jobs: - build-dev - validate-dco uses: ./.github/workflows/.test.yml + secrets: inherit strategy: fail-fast: false matrix: diff --git a/.github/workflows/windows-2019.yml b/.github/workflows/windows-2019.yml index 9c07a72bcf..1e6fa3c735 100644 --- a/.github/workflows/windows-2019.yml +++ b/.github/workflows/windows-2019.yml @@ -22,6 +22,7 @@ jobs: needs: - test-prepare uses: ./.github/workflows/.windows.yml + secrets: inherit strategy: fail-fast: false matrix: diff --git a/.github/workflows/windows-2022.yml b/.github/workflows/windows-2022.yml index 5c98db059e..dbb0852da8 100644 --- a/.github/workflows/windows-2022.yml +++ b/.github/workflows/windows-2022.yml @@ -25,6 +25,7 @@ jobs: needs: - test-prepare uses: ./.github/workflows/.windows.yml + secrets: inherit strategy: fail-fast: false matrix: