File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 99# Retrieve necessary variables from workflow
1010START_TIME=${START_TIME:- $(date +% s)}
1111TEST_STATUS=${TEST_STATUS:- " failure" }
12- REPORT_NUMBER=${REPORT_NUMBER:- 1 }
12+ REPORT_NUMBER=${REPORT_NUMBER:- 0 }
1313REPORT_NAME=${REPORT_NAME:- " govtool-frontend" }
1414HOST_URL=${HOST_URL:- " https://govtool.cardanoapi.io" }
1515CONTEXT=" Playwright Tests : $HOST_URL "
6464 TARGET_URL=" https://github.com/${GITHUB_REPOSITORY} /actions/runs/${GITHUB_RUN_ID} "
6565fi
6666
67+ if [[ " $REPORT_NUMBER " == 0 ]]; then
68+ DESCRIPTION=" ⚠️ Test execution failed due to missing report number"
69+ TEST_STATUS=" error"
70+ TARGET_URL=" https://github.com/${GITHUB_REPOSITORY} /actions/runs/${GITHUB_RUN_ID} "
71+ fi
72+
6773
6874
6975# Send commit status update to GitHub
You can’t perform that action at this time.
0 commit comments