mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
ci: remove instrumentationTest step and run action on ubuntu-latest
Signed-off-by: Aditya Wasan <adityawasan55@gmail.com>
This commit is contained in:
committed by
Harsh Shandilya
parent
1583c4c600
commit
d9d18069ab
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
|
name: Check pull request
|
||||||
jobs:
|
jobs:
|
||||||
test-pr:
|
test-pr:
|
||||||
runs-on: macos-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
api-level: [23, 29]
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
#- name: Auto-cancel redundant workflow run
|
#- name: Auto-cancel redundant workflow run
|
||||||
@@ -59,15 +56,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
arguments: apiCheck testFreeDebug lintFreeDebug spotlessCheck
|
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
|
- name: (Fail-only) upload test report
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571
|
uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571
|
||||||
|
Reference in New Issue
Block a user