From ab36d3869013021e305ca2135aea4532022c7d02 Mon Sep 17 00:00:00 2001 From: Damjan Smickovski Date: Tue, 27 Jun 2023 18:05:03 +0200 Subject: [PATCH] Running test inside ReactiveCircus --- .github/workflows/run-tests.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index eaf7e76..506c1b0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -28,14 +28,6 @@ jobs: distribution: 'adopt' java-version: '17' - - name: Setup emulator - uses: ReactiveCircus/android-emulator-runner@v2 - with: - api-level: 30 - target: google_apis - arch: x86_64 - script: echo "Created emulator" - - name: Install Appium run: npm install -g appium @@ -43,8 +35,13 @@ jobs: run: appium & - name: Run tests + uses: ReactiveCircus/android-emulator-runner@v2 env: APPIUM_PORT: 4723 APPIUM_HOST: localhost LOG_LEVEL: info - run: yarn test \ No newline at end of file + with: + api-level: 30 + target: google_apis + arch: x86_64 + script: yarn test