Skip to content

Commit c9119f2

Browse files
committed
github/workflows: pass CODECOV_TOKEN to reusable workflow
Signed-off-by: Jan Luebbe <[email protected]>
1 parent 6784f20 commit c9119f2

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/push-pr-unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
matrix:
1111
python-version: ['3.9', '3.10', '3.11', '3.12']
1212
uses: ./.github/workflows/reusable-unit-tests.yml
13+
secrets:
14+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1315
with:
1416
python-version: ${{ matrix.python-version }}
1517
push-pr-unit-tests-docker:

.github/workflows/reusable-unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
branch:
1010
type: string
1111
required: false
12+
secrets:
13+
CODECOV_TOKEN:
14+
required: false
1215

1316
jobs:
1417
build:

.github/workflows/scheduled-unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
python-version: ['3.9', '3.10', '3.11', '3.12']
1414
branch: ['master']
1515
uses: ./.github/workflows/reusable-unit-tests.yml
16+
secrets:
17+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1618
with:
1719
python-version: ${{ matrix.python-version }}
1820
branch: ${{ matrix.branch }}

0 commit comments

Comments
 (0)