From bdb87dd2b3228a6fa423541dc9b6c72936a4fb05 Mon Sep 17 00:00:00 2001 From: Wojtek Zieba Date: Sat, 28 Oct 2023 00:01:50 +0200 Subject: [PATCH] ci: run functional tests on CI --- .github/workflows/readme.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 59e66bed..14870d1f 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -5,7 +5,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - uses: actions/checkout@v3 with: @@ -24,6 +24,18 @@ jobs: run: ./gradlew lintDebug - name: Android Unit Tests run: ./gradlew :parsely:testDebugUnitTest + - name: Functional Tests + uses: reactivecircus/android-emulator-runner@d94c3fbe4fe6a29e4a5ba47c12fb47677c73656b #pin@v2.28.0 + with: + working-directory: ./parsely + 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 - name: Generate XML coverage report run: ./gradlew :parsely:koverXmlReportDebug - uses: codecov/codecov-action@v3