Merge pull request #618 from ooni/issues/1709/final #738
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: '11' | |
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 |