kopia lustrzana https://github.com/ge0rg/aprsdroid
Enable job matrix for testing on several API levels
rodzic
ac190f1b1e
commit
7c0faeca15
|
@ -7,10 +7,16 @@ on:
|
||||||
branches: [ '**' ]
|
branches: [ '**' ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
|
|
||||||
#runs-on: ubuntu-latest
|
# macOS provided hardware-accelerated emulator
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
api-level: [ 15, 19, 24, 30 ]
|
||||||
|
target: [ default, google_apis ]
|
||||||
|
name: "Android CI for API ${{ matrix.api-level }} target ${{ matrix.target }}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
|
@ -41,8 +47,8 @@ jobs:
|
||||||
- name: Run Instrumented Tests
|
- name: Run Instrumented Tests
|
||||||
uses: reactivecircus/android-emulator-runner@v2
|
uses: reactivecircus/android-emulator-runner@v2
|
||||||
with:
|
with:
|
||||||
api-level: 24
|
api-level: ${{ matrix.api-level }}
|
||||||
target: default #, google_apis
|
target: ${{ matrix.target }}
|
||||||
arch: x86
|
arch: x86
|
||||||
profile: Nexus 6
|
profile: Nexus 6
|
||||||
script: ./gradlew connectedCheck --stacktrace
|
script: ./gradlew connectedCheck --stacktrace
|
||||||
|
|
Ładowanie…
Reference in New Issue