diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 961a410d6..006bb70e1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -7,54 +7,7 @@ on: jobs: - instrumentation_tests: - strategy: - matrix: - api-level: [21, 22, 23, 24, 25, 27, 28, 30] - target: [default] - fail-fast: false - runs-on: macos-11 - steps: - - - name: checkout - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - - name: Restore Cache - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: | - ${{ runner.os }}-gradle- - - - name: run instrumentation tests - uses: ReactiveCircus/android-emulator-runner@v2.23.0 - with: - api-level: ${{ matrix.api-level }} - target: ${{ matrix.target }} - arch: x86_64 - profile: pixel_2 - sdcard-path-or-size: '1000M' - disable-animations: false - script: bash contrib/instrumentation_nightly.sh - - - name: Upload screenshot result - uses: actions/upload-artifact@v1 - if: failure() - with: - name: ${{ matrix.api-level }} - path: screencap.png - - unit_test_and_release: + release: runs-on: ubuntu-22.04 steps: @@ -68,9 +21,6 @@ jobs: with: java-version: 11 - - name: run unit tests - run: ./gradlew testDebugUnitTest testCustomExampleDebugUnitTest - - name: build debug run: ./gradlew assembleDebug