|
|
@ -102,7 +102,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
# Run local tests after screenshot tests to avoid wrong UP-TO-DATE. TODO: Ignore screenshots.
|
|
|
|
# Run local tests after screenshot tests to avoid wrong UP-TO-DATE. TODO: Ignore screenshots.
|
|
|
|
- name: Run local tests and create report
|
|
|
|
- name: Run local tests and create report
|
|
|
|
if: always()
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
run: ./gradlew testDemoDebug :lint:test
|
|
|
|
run: ./gradlew testDemoDebug :lint:test
|
|
|
|
# Replace task exclusions with `-Pandroidx.baselineprofile.skipgeneration` when
|
|
|
|
# Replace task exclusions with `-Pandroidx.baselineprofile.skipgeneration` when
|
|
|
|
# https://android-review.googlesource.com/c/platform/frameworks/support/+/2602790 landed in a
|
|
|
|
# https://android-review.googlesource.com/c/platform/frameworks/support/+/2602790 landed in a
|
|
|
@ -122,14 +122,14 @@ jobs:
|
|
|
|
path: '**/build/outputs/apk/**/*.apk'
|
|
|
|
path: '**/build/outputs/apk/**/*.apk'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload JVM local results (XML)
|
|
|
|
- name: Upload JVM local results (XML)
|
|
|
|
if: always()
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: local-test-results
|
|
|
|
name: local-test-results
|
|
|
|
path: '**/build/test-results/test*UnitTest/**.xml'
|
|
|
|
path: '**/build/test-results/test*UnitTest/**.xml'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload screenshot results (PNG)
|
|
|
|
- name: Upload screenshot results (PNG)
|
|
|
|
if: always()
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: screenshot-test-results
|
|
|
|
name: screenshot-test-results
|
|
|
@ -139,7 +139,7 @@ jobs:
|
|
|
|
run: ./gradlew :app:lintProdRelease :app-nia-catalog:lintRelease :lint:lint
|
|
|
|
run: ./gradlew :app:lintProdRelease :app-nia-catalog:lintRelease :lint:lint
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload lint reports (HTML)
|
|
|
|
- name: Upload lint reports (HTML)
|
|
|
|
if: always()
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: lint-reports
|
|
|
|
name: lint-reports
|
|
|
@ -210,7 +210,7 @@ jobs:
|
|
|
|
run: ./gradlew createDemoDebugCombinedCoverageReport
|
|
|
|
run: ./gradlew createDemoDebugCombinedCoverageReport
|
|
|
|
|
|
|
|
|
|
|
|
- name: Upload test reports
|
|
|
|
- name: Upload test reports
|
|
|
|
if: always()
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
name: test-reports-${{ matrix.api-level }}
|
|
|
|
name: test-reports-${{ matrix.api-level }}
|
|
|
|