diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-04-18 20:16:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 20:16:40 +0200 |
commit | cd0621864cf89c04df1722f06b05d38a68554e12 (patch) | |
tree | b0dd6713d46236feb7197951e6cca1250f286f65 /.github | |
parent | beaec159e8ee76c9cb598ec3a1a6cff8c46c355b (diff) |
Run tests for debug/release on 23/29 (#720)
* Also run unit tests for release build
* Only test on API levels 23 and 29
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pull_request.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 2e1fae0a..e3b84a37 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -6,7 +6,8 @@ jobs: runs-on: macos-latest strategy: matrix: - api-level: [23, 25, 27, 29] + api-level: [23, 29] + variant: [Debug, Release] steps: - uses: actions/checkout@master @@ -20,7 +21,7 @@ jobs: key: gradle-${{ runner.os }}-${{ hashFiles('**/build.gradle') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/dependencies.gradle') }} - name: Run unit tests - run: ./gradlew spotlessCheck testDebug lintDebug -Dpre-dex=false + run: ./gradlew spotlessCheck test${{ matrix.variant }} lint${{ matrix.variant}} -Dpre-dex=false - name: Run instrumentation tests uses: reactivecircus/android-emulator-runner@v2 |