From 7c917d47bf3867b7cb1b5dac636e50847e7c3e71 Mon Sep 17 00:00:00 2001 From: Yamil Medina Date: Thu, 1 Aug 2024 17:48:02 +0200 Subject: [PATCH] ci: missing codecov token (WPB-8645) (#3271) --- .github/workflows/build-beta-app.yml | 1 + .github/workflows/build-develop-app.yml | 1 + .github/workflows/build-fdroid-app.yml | 1 + .github/workflows/build-prod-app.yml | 1 + .github/workflows/build-rc-app.yml | 1 + .github/workflows/gradle-run-unit-tests.yml | 3 +++ 6 files changed, 8 insertions(+) diff --git a/.github/workflows/build-beta-app.yml b/.github/workflows/build-beta-app.yml index 26236433cf5..dfe17f9774a 100644 --- a/.github/workflows/build-beta-app.yml +++ b/.github/workflows/build-beta-app.yml @@ -20,6 +20,7 @@ jobs: uses: ./.github/workflows/gradle-run-ui-tests.yml unit-tests: uses: ./.github/workflows/gradle-run-unit-tests.yml + secrets: inherit build-app: needs: [ code-analysis, ui-tests, unit-tests ] runs-on: ubuntu-latest diff --git a/.github/workflows/build-develop-app.yml b/.github/workflows/build-develop-app.yml index 931904f9e79..1baea7d9d07 100644 --- a/.github/workflows/build-develop-app.yml +++ b/.github/workflows/build-develop-app.yml @@ -22,6 +22,7 @@ jobs: uses: ./.github/workflows/gradle-run-ui-tests.yml unit-tests: uses: ./.github/workflows/gradle-run-unit-tests.yml + secrets: inherit build-app: needs: [ code-analysis, ui-tests, unit-tests ] runs-on: ubuntu-latest diff --git a/.github/workflows/build-fdroid-app.yml b/.github/workflows/build-fdroid-app.yml index 595084ea9c2..2e387918f98 100644 --- a/.github/workflows/build-fdroid-app.yml +++ b/.github/workflows/build-fdroid-app.yml @@ -15,6 +15,7 @@ jobs: uses: ./.github/workflows/gradle-run-ui-tests.yml unit-tests: uses: ./.github/workflows/gradle-run-unit-tests.yml + secrets: inherit build-app: needs: [ code-analysis, ui-tests, unit-tests ] runs-on: ubuntu-latest diff --git a/.github/workflows/build-prod-app.yml b/.github/workflows/build-prod-app.yml index 352c7910090..298fa6361b2 100644 --- a/.github/workflows/build-prod-app.yml +++ b/.github/workflows/build-prod-app.yml @@ -15,6 +15,7 @@ jobs: uses: ./.github/workflows/gradle-run-ui-tests.yml unit-tests: uses: ./.github/workflows/gradle-run-unit-tests.yml + secrets: inherit build-app: needs: [ code-analysis, ui-tests, unit-tests ] runs-on: ubuntu-latest diff --git a/.github/workflows/build-rc-app.yml b/.github/workflows/build-rc-app.yml index 0064627e370..4ce3df45036 100644 --- a/.github/workflows/build-rc-app.yml +++ b/.github/workflows/build-rc-app.yml @@ -23,6 +23,7 @@ jobs: uses: ./.github/workflows/gradle-run-ui-tests.yml unit-tests: uses: ./.github/workflows/gradle-run-unit-tests.yml + secrets: inherit build-app: needs: [ code-analysis, ui-tests, unit-tests ] runs-on: ubuntu-latest diff --git a/.github/workflows/gradle-run-unit-tests.yml b/.github/workflows/gradle-run-unit-tests.yml index 7ea664dee0d..f1151eb376c 100644 --- a/.github/workflows/gradle-run-unit-tests.yml +++ b/.github/workflows/gradle-run-unit-tests.yml @@ -5,6 +5,9 @@ on: [ workflow_call ] permissions: contents: read +env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + jobs: coverage: runs-on: buildjet-8vcpu-ubuntu-2204