diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index a2c844c83..abe2e3144 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,7 +13,7 @@ env: jobs: build: name: Build - runs-on: macos-latest + runs-on: self-hosted outputs: npm_version: ${{ steps.npm_version_output.outputs.NPM_VERSION }} npm_tag: ${{ steps.npm_version_output.outputs.NPM_TAG }} @@ -76,7 +76,7 @@ jobs: path: dist/nativescript-android-${{steps.npm_version_output.outputs.NPM_VERSION}}.tgz test: name: Test - runs-on: macos-latest + runs-on: self-hosted needs: build steps: - uses: actions/checkout@v3 @@ -114,10 +114,14 @@ jobs: - name: SBG tests run: ./gradlew runSbgTests --stacktrace - name: Run unit tests - uses: ReactiveCircus/android-emulator-runner@v2 - with: - api-level: ${{env.ANDROID_API}} - # this is needed on API 30+ - #target: google_apis - arch: ${{env.ANDROID_ABI}} - script: ./gradlew runtestsAndVerifyResults --stacktrace \ No newline at end of file + run: ./gradlew runtestsAndVerifyResults --stacktrace +# uses: ReactiveCircus/android-emulator-runner@v2 +# with: +# force-avd-creation: false +# disable-animations: false +# emulator-options: -noaudio -no-boot-anim -camera-back none +# api-level: ${{env.ANDROID_API}} +# # this is needed on API 30+ +# #target: google_apis +# arch: ${{env.ANDROID_ABI}} +# script: ./gradlew runtestsAndVerifyResults --stacktrace