forked from upstream-mirrors/OpenTracks
Merge pull request #1704 from OpenTracksApp/action-test
Re-enable Github Action executes tests.
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
# We have flaky test results due to performance limitations in Github Actions.
|
|
||||||
# Happens too often nowadays; See https://github.com/OpenTracksApp/OpenTracks/issues/1409
|
|
||||||
|
|
||||||
#https://github.com/marketplace/actions/android-emulator-runner
|
#https://github.com/marketplace/actions/android-emulator-runner
|
||||||
name: Test
|
name: Test
|
||||||
on:
|
on:
|
||||||
@@ -11,27 +8,20 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
api-level: [ 24, 30 ]
|
|
||||||
target: [ default ]
|
|
||||||
fail-fast: false
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'adopt'
|
||||||
java-version: '11'
|
java-version: '17'
|
||||||
|
|
||||||
- name: run tests
|
- name: run tests
|
||||||
uses: reactivecircus/android-emulator-runner@v2.26.0
|
uses: reactivecircus/android-emulator-runner@v2.28.0
|
||||||
with:
|
with:
|
||||||
api-level: ${{ matrix.api-level }}
|
|
||||||
target: ${{ matrix.target }}
|
|
||||||
arch: x86_64
|
arch: x86_64
|
||||||
profile: Nexus 6
|
api-level: 34
|
||||||
script: ./gradlew connectedCheck
|
script: ./gradlew connectedCheck
|
||||||
|
|
||||||
- name: Archive
|
- name: Archive
|
||||||
Reference in New Issue
Block a user