Skip to content

Commit c95f04b

Browse files
committed
Add -retry command-line option on CI
1 parent 58c847a commit c95f04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
unityVersion: ${{ matrix.unityVersion }} # Default is `auto`
113113
checkName: test result (${{ matrix.unityVersion }}, ${{ matrix.testMode }})
114114
projectPath: ${{ env.CREATED_PROJECT_PATH }}
115-
customParameters: -testCategory "!IgnoreCI" -testHelperScreenshotDirectory /github/workspace/artifacts/Screenshots
115+
customParameters: -testCategory "!IgnoreCI" -retry 5 -testHelperScreenshotDirectory /github/workspace/artifacts/Screenshots
116116
coverageOptions: generateAdditionalMetrics;generateTestReferences;generateHtmlReport;generateAdditionalReports;dontClear;assemblyFilters:${{ env.assembly_filters }}
117117
# see: https://docs.unity3d.com/Packages/com.unity.testtools.codecoverage@1.2/manual/CoverageBatchmode.html
118118
testMode: ${{ matrix.testMode }}

0 commit comments

Comments
 (0)