Skip to content

Commit

Permalink
Test github action to run instrumented tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xgouchet committed May 2, 2024
1 parent 5e0f0f2 commit 999f6fe
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/instrumented.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Android Instrumented tests"

on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master", "develop", "release/**", "feature/**" ]

jobs:
test:
runs-on: macos-latest
strategy:
matrix:
api-level: [21, 23, 29, 34]
steps:
- name: checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
java-version: '17.0'
distribution: 'adopt'
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
java-version: '17'
api-level: ${{ matrix.api-level }}
arch: arm64
disable-animations: true
script: ./gradlew :instrumented:integration:connectedCheck

0 comments on commit 999f6fe

Please sign in to comment.