Add custom parameters

This commit is contained in:
Webber
2020-01-29 23:54:44 +01:00
committed by Webber Takken
parent 686f633329
commit 3ccd77fd44
6 changed files with 71 additions and 34 deletions

File diff suppressed because one or more lines are too long

View File

@@ -14,6 +14,11 @@ echo "Using project path \"$UNITY_PROJECT_PATH\"."
echo "Using build path \"$ARTIFACTS_PATH\" to save test results."
FULL_ARTIFACTS_PATH=$GITHUB_WORKSPACE/$ARTIFACTS_PATH
#
# Display custom parameters
#
echo "Using custom parameters \"$CUSTOM_PARAMETERS\"."
# Set the modes for testing
case $TEST_MODE in
editmode)
@@ -76,7 +81,8 @@ if [ $EDIT_MODE = true ]; then
-projectPath "$UNITY_PROJECT_PATH" \
-runTests \
-testPlatform editmode \
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml"
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
"$CUSTOM_PARAMETERS"
# Catch exit code
EDIT_MODE_EXIT_CODE=$?