ci: remove instrumentationTest step and run action on ubuntu-latest
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
parent
1583c4c600
commit
d9d18069ab
1 changed files with 1 additions and 13 deletions
14
.github/workflows/pull_request.yml
vendored
14
.github/workflows/pull_request.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue