mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
including screenshot verification and error result uploads as part of the test step
This commit is contained in:
parent
7f8cb4b1a1
commit
b0e2596b58
1 changed files with 13 additions and 0 deletions
13
.github/workflows/tests.yml
vendored
13
.github/workflows/tests.yml
vendored
|
@ -30,6 +30,19 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
- uses: gradle/gradle-build-action@v2
|
- 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
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
|
|
Loading…
Reference in a new issue