summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAditya Wasan <adityawasan55@gmail.com>2021-05-22 18:47:09 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-05-22 20:05:55 +0530
commitd9d18069abeccea795d82f917ed2b56f8199d406 (patch)
treef5a67492b29953c136c36bf58a53972ce490ac3d /.github
parent1583c4c60002cb44d863fa7ebe792c68dd153901 (diff)
ci: remove instrumentationTest step and run action on ubuntu-latest
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pull_request.yml14
1 files changed, 1 insertions, 13 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index f74196c4..10e4c3d7 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -3,10 +3,7 @@ on: [pull_request]
name: Check pull request
jobs:
test-pr:
- runs-on: macos-latest
- strategy:
- matrix:
- api-level: [23, 29]
+ runs-on: ubuntu-latest
steps:
#- name: Auto-cancel redundant workflow run
@@ -59,15 +56,6 @@ jobs:
with:
arguments: apiCheck testFreeDebug lintFreeDebug spotlessCheck
- - name: Run instrumentation tests
- if: ${{ steps.service-changed.outputs.result == 'true' }}
- uses: reactivecircus/android-emulator-runner@599839e4285455fff52cd8e3614575e02f1b673f
- with:
- api-level: ${{ matrix.api-level }}
- target: default
- script: |
- ./gradlew :app:connectedFreeDebugAndroidTest
-
- name: (Fail-only) upload test report
if: failure()
uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571