Support code unity coverage

pull/55/head
Sebastiaan Fehr 2020-04-01 23:17:32 +10:00
parent f02586c1c9
commit 107f3a8c2e
1 changed files with 8 additions and 0 deletions

View File

@ -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