Merge pull request #666 from ooni/dependabot/gradle/org.robolectric-r… #1079
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test runs unit tests using the JVM | |
name: test | |
on: [push] | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: checkout | |
uses: actions/checkout@v2 | |
- run: ./gradlew testStableFullRelease | |
- name: uploads test results | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: test-results | |
path: app/build/test-results/testStableFullDebugUnitTest |