including screenshot verification and error result uploads as part of the test step

This commit is contained in:
Adam Brown 2022-09-14 15:09:14 +01:00
parent 7f8cb4b1a1
commit b0e2596b58

View file

@ -30,6 +30,19 @@ jobs:
distribution: 'adopt'
java-version: '11'
- uses: gradle/gradle-build-action@v2
- name: Run screenshot tests
run ./gradlew verifyScreenshots
- name: Archive Screenshot Results on Error
if: failure()
uses: actions/upload-artifact@v1
with:
name: screenshot-results
path: |
**/out/failures/
**/build/reports/tests/*UnitTest/
- uses: actions/setup-python@v4
with:
python-version: 3.8