Screenshot test in CI
This commit is contained in:
parent
67ba304ad2
commit
168225f577
1 changed files with 12 additions and 0 deletions
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
|
@ -23,3 +23,15 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
|
run: ./gradlew test $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
|
||||||
|
- name: Run screenshot tests
|
||||||
|
run: ./gradlew verifyPaparazziDebug $CI_GRADLE_ARG_PROPERTIES
|
||||||
|
|
||||||
|
- name: Archive Screenshot Results on Error
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: screenshot-results
|
||||||
|
path: |
|
||||||
|
**/out/failures/
|
||||||
|
**/build/reports/tests/*UnitTest/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue