Skip to content

Commit

Permalink
Merge pull request #24 from Malinskiy/feature/ci-update-add-android-30
Browse files Browse the repository at this point in the history
ci(workflow): add Android 30 and upgrade github action
  • Loading branch information
Malinskiy authored Jan 20, 2021
2 parents ec31c88 + 02d374e commit 213a534
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: malinskiy/action-android/install-sdk@release/0.0.8
- uses: malinskiy/action-android/install-sdk@release/0.1.1
- name: gradle test jacocoTestReport
run: ./gradlew test jacocoTestReport
- name: archive test results
Expand All @@ -35,21 +35,22 @@ jobs:
runs-on: macOS-10.15
strategy:
matrix:
api: [21, 22, 23, 24, 25, 26, 27, 28, 29]
api: [ 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 ]
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- uses: malinskiy/action-android/install-sdk@release/0.0.8
- uses: malinskiy/action-android/install-sdk@release/0.1.1
- name: integration test
uses: malinskiy/action-android/emulator-run-cmd@release/0.0.8
uses: malinskiy/action-android/emulator-run-cmd@release/0.1.1
timeout-minutes: 20
with:
cmd: ./gradlew integrationTest
cmdOptions: -no-snapshot-save -noaudio -no-boot-anim -cores 2 -memory 3072 -no-window -gpu swiftshader_indirect
api: ${{ matrix.api }}
tag: default
tag: google_apis
abi: x86
- name: Generate integration code coverage report
run: ./gradlew jacocoIntegrationTestReport
Expand All @@ -62,7 +63,7 @@ jobs:
name: integration-test-result
path: integration-test-result.zip
- name: archive test coverage
run: (cd build/reports/jacoco/jacocoIntegrationTestReport/html; zip -r -X ../../../../integration-test-coverage.zip .)
run: (cd build/reports/jacoco/jacocoIntegrationTestReport/html; zip -r -X ../../../../../integration-test-coverage.zip .)
- name: Save coverage output
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit 213a534

Please sign in to comment.