Skip to content

Commit

Permalink
ci: run functional tests on CI
Browse files Browse the repository at this point in the history
On a separate job, as it has to run on macOS. Use cache for Android
Emulator dependencies.
  • Loading branch information
wzieba committed Oct 28, 2023
1 parent aa7d1be commit b1f17da
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,35 @@ jobs:
with:
name: artifact
path: ~/.m2/repository/com/parsely/parsely/*
functional-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle
- name: AVD cache
uses: actions/cache@v3
id: avd-cache
with:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-31
- name: Functional Tests
uses: reactivecircus/[email protected]
with:
working-directory: .
api-level: 31
profile: Nexus 6
arch: x86_64
force-avd-creation: false
avd-name: macOS-avd-x86_64-31
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: ./gradlew connectedCheck

0 comments on commit b1f17da

Please sign in to comment.