Files
trezor-suite/.github/workflows/test-suite-native-e2e-android.yml
2026-02-11 18:28:40 +01:00

52 lines
1.7 KiB
YAML

name: "[Test] suite-native Android E2E"
permissions:
id-token: write # for fetching the OIDC token (needed for aws s3 actions)
contents: read # read attached artifacts from tests
actions: write # attach artifact overview and delete shard-x.txt
on:
schedule:
- cron: "0 0 * * 1-5"
pull_request:
paths:
- "suite-native/**"
- "suite-common/**"
- "packages/connect/**"
- ".github/workflows/test-suite-native-e2e-android.yml"
- ".github/workflows/template-suite-native-e2e-android.yml"
- ".github/workflows/template-suite-native-prepare-test-app-android.yml"
- "!**.md"
push:
branches:
- release-native/*
workflow_dispatch:
inputs:
publish_results_to_github:
description: "Publish test report to GitHub Project"
required: false
default: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
prepare_android_test_app:
uses: ./.github/workflows/template-suite-native-prepare-test-app-android.yml
secrets:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run_android_e2e_tests:
uses: ./.github/workflows/template-suite-native-e2e-android.yml
needs: prepare_android_test_app
with:
publish_results_to_github: ${{ inputs.publish_results_to_github == true }}
secrets:
TREZOR_BOT_APP_ID: ${{ secrets.TREZOR_BOT_APP_ID }}
TREZOR_BOT_PRIVATE_KEY: ${{ secrets.TREZOR_BOT_PRIVATE_KEY }}
CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }}
SLACK_MOBILE_E2E_WEBHOOK: ${{ secrets.SLACK_MOBILE_E2E_WEBHOOK }}
E2E_TEST_PASSPHRASE: ${{ secrets.E2E_TEST_PASSPHRASE }}