From 1e01f762842a4570baad1fdde306147e42389ead Mon Sep 17 00:00:00 2001 From: Aaron Silverman Date: Mon, 23 Oct 2023 15:18:35 -0600 Subject: [PATCH] seperate spin up from tests --- .github/workflows/test.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c559f0d6..d839222d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,19 +37,12 @@ jobs: echo "MAVEN_PASSWORD=${MAVEN_PASSWORD}" >> ~/.gradle/gradle.properties - name: Set up test data run: make test-data - - name: Run tests on emulator + - name: Spin up emulator uses: ReactiveCircus/android-emulator-runner@v2 with: api-level: 33 target: google_apis arch: x86_64 script: echo "Emulator started" - - name: Forward mock server port - run: adb forward tcp:4001 tcp:4001 - name: Run tests - uses: ReactiveCircus/android-emulator-runner@v2 - with: - api-level: 33 - target: google_apis - arch: x86_64 - script: make test + run: make test