Skip to content

Commit 87e0e3a

Browse files
committed
ci: run functional tests on CI
On a separate job, as it has to run on macOS.
1 parent aa7d1be commit 87e0e3a

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎.github/workflows/readme.yml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,33 @@ jobs:
4343
with:
4444
name: artifact
4545
path: ~/.m2/repository/com/parsely/parsely/*
46+
functional-tests:
47+
runs-on: macos-latest
48+
steps:
49+
- uses: actions/checkout@v3
50+
with:
51+
fetch-depth: 0
52+
- name: set up JDK
53+
uses: actions/setup-java@v3
54+
with:
55+
java-version: '17'
56+
distribution: 'temurin'
57+
cache: gradle
58+
- name: Functional Tests
59+
uses: reactivecircus/android-emulator-runner@v2.28.0
60+
with:
61+
working-directory: .
62+
api-level: 31
63+
profile: Nexus 6
64+
arch: x86_64
65+
force-avd-creation: false
66+
avd-name: macOS-avd-x86_64-31
67+
emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
68+
disable-animations: true
69+
script: ./gradlew :parsely:connectedCheck
70+
- name: Publish build artifacts
71+
uses: actions/upload-artifact@v3
72+
if: always()
73+
with:
74+
name: artifact
75+
path: ./parsely/build/reports/*

0 commit comments

Comments
 (0)