Skip to content

Commit

Permalink
Next try
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Jun 24, 2024
1 parent dcff024 commit 0cd8e0c
Showing 1 changed file with 8 additions and 28 deletions.
36 changes: 8 additions & 28 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: [ ubuntu-latest ]
api: [ 28 ]
abi: [ x86_64 ]
tag: [ 'default' ]
include:
# - api: 31
# abi: x86_64
# tag: 'google_apis'
- os: ubuntu-latest
api: 30
abi: x86_64
tag: 'google_apis'
steps:
- name: kvm support
run: |
Expand All @@ -40,35 +29,26 @@ jobs:
with:
distribution: 'adopt'
java-version: 17
- name: Install Android SDK
uses: hannesa2/action-android/[email protected]
- name: Build project
run: ./gradlew assemble
- name: Run instrumentation tests
uses: hannesa2/action-android/[email protected]
with:
cmd: ./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 @@ -82,7 +62,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install JDK ${{ matrix.java_version }}
- name: Install JDK
uses: actions/setup-java@v4
with:
distribution: 'adopt'
Expand Down

0 comments on commit 0cd8e0c

Please sign in to comment.