Skip to content

Commit

Permalink
Add artifact validation to gradle-tests
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 585796433
  • Loading branch information
copybara-androidxtest committed Nov 28, 2023
1 parent 8cf21da commit 3ac67d1
Show file tree
Hide file tree
Showing 2 changed files with 1,612 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,16 @@ jobs:
- name: 'Run gradle tests'
run: |
cd ${{ github.workspace }}/gradle-tests
./gradlew nexusOneDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" --no-watch-fs --info
./gradlew nexusOneDebugAndroidTest --write-verification-metadata sha256,pgp -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" --no-watch-fs --info
shell: bash
- name: 'Upload test reports'
if: success() || failure()
uses: actions/upload-artifact@v3
with:
name: test-reports
path: gradle-tests/**/build/reports/androidTests/
- name: 'Output verification metadata'
run: |
cat ${{ github.workspace }}/gradle-tests/gradle/verification-metadata.xml
Loading

0 comments on commit 3ac67d1

Please sign in to comment.