Skip to content

Commit

Permalink
Merge pull request #137 from KakaoCup/update-ci-piplines
Browse files Browse the repository at this point in the history
fix(ci): migrate to new download action
  • Loading branch information
Vacxe authored Oct 19, 2024
2 parents 3ee34e0 + f23372d commit d472242
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- name: Assemble Debug APK
run: bash ./gradlew sample:assembleDebug
- name: Upload app APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apk
name: debug-apk
path: sample/build/outputs/apk/debug/sample-debug.apk

assemble-debug-android-test-apk:
Expand All @@ -65,9 +65,9 @@ jobs:
- name: Assemble Instrumental APK
run: bash ./gradlew sample:assembleDebugAndroidTest
- name: Upload app APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apk
name: test-apk
path: sample/build/outputs/apk/androidTest/debug/sample-debug-androidTest.apk

firebase-lab-test:
Expand All @@ -80,16 +80,20 @@ jobs:
api: [ 26, 27, 28, 29, 30, 31, 32, 33 ]
steps:
- uses: actions/checkout@v1
- name: Download APKs
uses: actions/download-artifact@v1
- name: Download Debug APK
uses: actions/download-artifact@v4
with:
name: debug-apk
- name: Download Test APK
uses: actions/download-artifact@v4
with:
name: apk
name: test-apk
- name: Run tests on Firebase Test Lab for API ${{ matrix.api }}
uses: vacxe/[email protected]
with:
service-account: ${{ secrets.FIREBASE_TESTLAB_JSON }}
app: apk/sample-debug.apk
test: apk/sample-debug-androidTest.apk
app: sample-debug.apk
test: sample-debug-androidTest.apk
device-id: MediumPhone.arm
os-version-id: ${{ matrix.api }}
num-flaky-test-attempts: 4

0 comments on commit d472242

Please sign in to comment.