Support code unity coverage
parent
f02586c1c9
commit
107f3a8c2e
|
|
@ -82,6 +82,10 @@ if [ $EDIT_MODE = true ]; then
|
||||||
-runTests \
|
-runTests \
|
||||||
-testPlatform editmode \
|
-testPlatform editmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
||||||
|
-enableCodeCoverage \
|
||||||
|
-coverageResultsPath "$FULL_ARTIFACTS_PATH/CodeCoverage/" \
|
||||||
|
-coverageOptions "generateHtmlReport;assemblyFilters:-*unity*" \
|
||||||
|
-burst-disable-compilation
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
# Catch exit code
|
# Catch exit code
|
||||||
|
|
@ -120,6 +124,10 @@ if [ $PLAY_MODE = true ]; then
|
||||||
-runTests \
|
-runTests \
|
||||||
-testPlatform playmode \
|
-testPlatform playmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
||||||
|
-enableCodeCoverage \
|
||||||
|
-coverageResultsPath "$FULL_ARTIFACTS_PATH/CodeCoverage/" \
|
||||||
|
-coverageOptions "generateHtmlReport;assemblyFilters:-*unity*" \
|
||||||
|
-burst-disable-compilation
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
# Catch exit code
|
# Catch exit code
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue