Skip to content

Commit a01456b

Browse files
New: [AEA-4607] - Amendments to test report history (#175)
## Summary - Routine Change only trigger report building if there are test failures
1 parent dd035c2 commit a01456b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/regression_tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,10 @@ jobs:
130130
owner: "NHSDigital"
131131
repositories: "electronic-prescription-service-api-regression-tests,eps-test-reports"
132132

133-
- name: Send Results
134-
run: |
135-
poetry run python scripts/send_test_results.py --token=${{ steps.generate-token.outputs.token }} --run_id ${{GITHUB.RUN_ID}}
136-
137133
- name: Report failure on test failure
138134
if: steps.tests.outcome != 'success'
139135
run: |
136+
poetry run python scripts/send_test_results.py --token=${{ steps.generate-token.outputs.token }} --run_id ${{GITHUB.RUN_ID}}
140137
echo The regression tests step failed, this likely means there are test failures.
141-
echo The report will be generated shortly
138+
echo A test report will be generated shortly and can be viewed at: https://nhsdigital.github.io/eps-test-reports
142139
exit 1

0 commit comments

Comments
 (0)