diff options
author | takahirom <takam.dev@gmail.com> | 2023-12-22 09:38:36 +0900 |
---|---|---|
committer | utzcoz <43091780+utzcoz@users.noreply.github.com> | 2024-01-08 12:30:25 +0800 |
commit | 79305795d0fd6145d2b9891af364d570af3a57ea (patch) | |
tree | 005219d77eaa32b3c3e0488c0988c4751e250d33 /.github | |
parent | 10b509e45d7c055d69ecf9a6d233d11c5e993f29 (diff) | |
download | robolectric-79305795d0fd6145d2b9891af364d570af3a57ea.tar.gz |
Add Roborazzi integration test
Implementing new Roborazzi integration tests that utilizes its capture feature. These tests aim to identify compatibility issues early in the development cycle.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/graphics_tests.yml | 11 | ||||
-rw-r--r-- | .github/workflows/tests.yml | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/graphics_tests.yml b/.github/workflows/graphics_tests.yml index 383e03a2a..ebd6fd69e 100644 --- a/.github/workflows/graphics_tests.yml +++ b/.github/workflows/graphics_tests.yml @@ -34,7 +34,9 @@ jobs: - name: Run unit tests run: | - SKIP_ERRORPRONE=true SKIP_JAVADOC=true ./gradlew :integration_tests:nativegraphics:testDebugUnitTest \ + SKIP_ERRORPRONE=true SKIP_JAVADOC=true ./gradlew \ + :integration_tests:nativegraphics:testDebugUnitTest \ + :integration_tests:roborazzi:verifyRoborazziDebug \ --info --stacktrace --continue \ --parallel \ --no-watch-fs \ @@ -46,5 +48,8 @@ jobs: if: always() with: name: test_results - path: '**/build/test-results/**/TEST-*.xml' - + path: | + '**/build/test-results/**/TEST-*.xml' + '**/roborazzi/build/reports/*' + '**/roborazzi/src/screenshots/*' + '**/roborazzi/build/outputs/roborazzi/*' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e0013ec78..fed4db9ba 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,7 +65,8 @@ jobs: -Drobolectric.enabledSdks=${{ matrix.api-versions }} \ -Drobolectric.alwaysIncludeVariantMarkersInTestName=true \ -Dorg.gradle.workers.max=2 \ - -x :integration_tests:nativegraphics:test + -x :integration_tests:nativegraphics:test \ + -x :integration_tests:roborazzi:test - name: Upload Test Results uses: actions/upload-artifact@v3 |