Add crypto payment method #26568
Workflow file for this run
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
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
STRIPE_END_TO_END_TESTS_BACKEND_URL: ${{ secrets.STRIPE_END_TO_END_TESTS_BACKEND_URL }} | |
STRIPE_END_TO_END_TESTS_PUBLISHABLE_KEY: ${{ secrets.STRIPE_END_TO_END_TESTS_PUBLISHABLE_KEY }} | |
GRADLE_OPTS: -Dkotlin.incremental=false | |
jobs: | |
end-to-end-tests: | |
name: End-to-end tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/stripe_setup | |
- name: End-to-end tests | |
run: ./gradlew :stripe-test-e2e:testDebugUnitTest | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: unit-test-report | |
path: stripe-test-e2e/build/reports/tests/testDebugUnitTest/ | |
build-paymentsheet-example-project: | |
name: Build paymentsheet example project | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/stripe_setup | |
- name: Build example projects | |
run: ./gradlew :paymentsheet-example:assembleAndroidTest | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: test-failures | |
path: | | |
**/build/reports/tests/ | |
**/out/failures/ | |
payment-sheet-apk-size-analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/stripe_setup | |
- name: Upload release bundle to Emerge | |
run: ./gradlew :paymentsheet-example:emergeUploadReleaseAab | |
env: | |
EMERGE_API_TOKEN: ${{ secrets.EMERGE_API_KEY }} | |
EMERGE_TAG: pull_request | |
check-for-untranslated-strings: | |
name: Check for untranslated strings | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check for untranslated strings | |
run: cd scripts && ruby lokalise/check_untranslated_strings.rb | |
env: | |
LOKALISE_API_TOKEN: ${{ secrets.LOKALISE_API_TOKEN }} |