From f71ee6d31f45f4ef67bbfb6c0760dd1483277db1 Mon Sep 17 00:00:00 2001 From: Daniele Pantaleone Date: Tue, 31 Oct 2023 12:30:02 +0100 Subject: [PATCH] Configure Github Actions to run unit tests --- .github/workflows/android-tests.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/android-tests.yml diff --git a/.github/workflows/android-tests.yml b/.github/workflows/android-tests.yml new file mode 100644 index 0000000..8411b5c --- /dev/null +++ b/.github/workflows/android-tests.yml @@ -0,0 +1,25 @@ +name: Android Tests +on: + push: + branches: [ "master" ] + paths-ignore: + - 'README.md' + pull_request: + branches: [ "master" ] +jobs: + tests: + runs-on: macos-latest + steps: + - name: Repository checkout + uses: actions/checkout@v3 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Run connected tests + uses: ReactiveCircus/android-emulator-runner@v2 + with: + api-level: 23 + target: google_apis + arch: x86_64 + script: ./gradlew connectedCheck \ No newline at end of file