-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30793 from margelo/osp/e2e-staggered
[NoQA] Staggered approach to E2E tests
- Loading branch information
Showing
19 changed files
with
511 additions
and
310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Build an Android apk | ||
description: Build an Android apk for an E2E test build and upload it as an artifact | ||
|
||
inputs: | ||
ARTIFACT_NAME: | ||
description: The name of the workflow artifact where the APK should be uploaded | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- uses: Expensify/App/.github/actions/composite/setupNode@main | ||
|
||
- uses: ruby/setup-ruby@a05e47355e80e57b9a67566a813648fa67d92011 | ||
with: | ||
ruby-version: "2.7" | ||
bundler-cache: true | ||
|
||
- uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef | ||
|
||
- name: Build APK | ||
run: npm run android-build-e2edelta | ||
shell: bash | ||
|
||
- name: Upload APK | ||
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05 | ||
with: | ||
name: ${{ inputs.ARTIFACT_NAME }} | ||
path: android/app/build/outputs/apk/e2e/release/app-e2edelta-release.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.