Skip to content

Commit dc6cc8d

Browse files
committed
feat: add coverage options to reusable test runner
1 parent ba0c4d5 commit dc6cc8d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/reusable-test-runner.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
required: false
2424
type: string
2525
default: ''
26+
coverage-options:
27+
description: 'Options for configuring code coverage. https://game.ci/docs/github/test-runner#coverageoptions'
28+
required: false
29+
type: string
30+
default: 'generateAdditionalMetrics;generateHtmlReport;generateBadgeReport'
2631
secrets:
2732
UNITY_LICENSE:
2833
required: true
@@ -82,6 +87,7 @@ jobs:
8287
artifactsPath: ${{ matrix.testMode }}-artifacts
8388
githubToken: ${{ secrets.GITHUB_TOKEN }}
8489
checkName: ${{ matrix.testMode }} Test Results
90+
coverageOptions: ${{ inputs.coverage-options }}
8591
- uses: actions/upload-artifact@v4
8692
if: always()
8793
with:

0 commit comments

Comments
 (0)