Skip to content

Commit

Permalink
Next try
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jun 2, 2024
1 parent f606a77 commit 895c3cb
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ jobs:
fail-fast: false
matrix:
os: [ macOS-13 ]
api: [ 28 ]
abi: [ x86_64 ]
tag: [ 'default' ]
include:
# - api: 31
# abi: x86_64
# tag: 'google_apis'
- os: macOS-13
api: 30
abi: x86_64
tag: 'google_apis'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -33,33 +22,26 @@ jobs:
with:
distribution: 'adopt'
java-version: 17
- name: Install Android SDK
uses: hannesa2/action-android/[email protected]
- name: Build project
run: ./gradlew nexusOneApi30DebugAndroidTest
# - name: Run instrumentation tests
# run: ./gradlew nexusOneApi30DebugAndroidTest
# api: ${{ matrix.api }}
# tag: ${{ matrix.tag }}
# abi: ${{ matrix.abi }}
# cmdOptions: -noaudio -no-boot-anim -no-window
- uses: hannesa2/action-android/[email protected]
- run: sdkmanager platform-tools
- run: ./gradlew nexusOneApi30DebugAndroidTest
- name: Archive Espresso report
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: Moka-Espresso-report-${{ matrix.api }}-${{ matrix.abi }}-report
name: Moka-Espresso-report
path: sample/build/reports/androidTests/connected
- name: Archive Espresso results
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: Moka-Espresso-${{ matrix.api }}-${{ matrix.abi }}-report
path: sample/build/reports/androidTests/connected
name: Moka-Espresso-result
path: sample/build/outputs/androidTest-results/managedDevice
- name: Archive screenshots
if: ${{ always() }}
uses: actions/[email protected]
with:
name: Moka-Screenshots-${{ matrix.api }}-${{ matrix.abi }}-report
name: Moka-Screenshots
path: |
sample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
sample/build/outputs/androidTest-results/connected
Expand All @@ -73,7 +55,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install JDK ${{ matrix.java_version }}
- name: Install JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
Expand Down

0 comments on commit 895c3cb

Please sign in to comment.