Skip to content

Commit fca7d3e

Browse files
committed
🔧 Codecov
1 parent a00a868 commit fca7d3e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/phpunit-single.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
required: false
2424
default: false
2525
type: boolean
26+
codecov-token:
27+
description: Codecov token
28+
required: false
29+
default: ${{ secrets.CODECOV_TOKEN }}
30+
type: string
2631

2732
jobs:
2833
phpunit:
@@ -59,11 +64,11 @@ jobs:
5964
uses: codecov/test-results-action@v1
6065
with:
6166
file: junit.xml
62-
token: ${{ secrets.CODECOV_TOKEN }}
67+
token: ${{ inputs.codecov-token }}
6368

6469
- name: Upload coverage to Codecov
6570
if: ${{ inputs.coverage-report }}
6671
uses: codecov/codecov-action@v5
6772
with:
6873
files: coverage.xml
69-
token: ${{ secrets.CODECOV_TOKEN }}
74+
token: ${{ inputs.codecov-token }}

0 commit comments

Comments
 (0)