[discuss] chore(connect): coinAbstractMethod #3580
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: "[Build/Test] connect-popup e2e" | |
permissions: | |
id-token: write # for fetching the OIDC token | |
contents: read # for actions/checkout | |
on: | |
schedule: | |
# Runs at midnight UTC every day at 01:00 AM CET | |
- cron: "0 0 * * *" | |
push: | |
branches: [release/connect/**] | |
pull_request: | |
paths: | |
- "packages/connect/**" | |
- "packages/connect-common/**" | |
- "packages/connect-iframe/**" | |
- "packages/connect-explorer/**" | |
- "packages/connect-webextension/**" | |
- "packages/connect-web/**" | |
- "packages/connect-popup/**" | |
- "packages/connect-examples/webextension-mv2/**" | |
- "packages/connect-examples/webextension-mv3/**" | |
- "packages/connect-explorer-theme/**" | |
- "submodules/trezor-common/**" | |
- "yarn.lock" | |
- ".github/workflows/connect-dev-release-test.yml" | |
- ".github/workflows/template-connect-popup-test-params.yml" | |
- ".github/actions/release-connect/**" | |
- "docker/docker-connect-popup-ci.sh" | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
extract-branch: | |
if: github.repository == 'trezor/trezor-suite' | |
runs-on: ubuntu-latest | |
outputs: | |
branch: ${{ steps.extract_branch.outputs.branch }} | |
steps: | |
- name: Extract branch name | |
id: extract_branch | |
run: | | |
BRANCH_NAME="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | |
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT | |
build-deploy: | |
needs: [extract-branch] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ needs.extract-branch.outputs.branch }} | |
- name: Release connect to dev environment | |
uses: ./.github/actions/release-connect | |
with: | |
awsRoleToAssume: "arn:aws:iam::538326561891:role/gh_actions_trezor_suite_dev_deploy" | |
awsRegion: "eu-central-1" | |
serverHostname: "dev.suite.sldev.cz" | |
serverPath: "connect/${{ needs.extract-branch.outputs.branch }}" | |
uploadArtifacts: "true" | |
buildArtifacts: "true" | |
nodeEnv: "development" | |
methods: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: methods.test | |
serverHostname: dev.suite.sldev.cz | |
runWebextension: ${{ github.event_name == 'schedule' }} | |
runCoreInPopup: true | |
buildOverview: true | |
popup-close: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: popup-close.test | |
serverHostname: dev.suite.sldev.cz | |
runWebextension: true | |
runCoreInPopup: true | |
passphrase: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: passphrase.test | |
serverHostname: dev.suite.sldev.cz | |
runWebextension: true | |
runCoreInPopup: true | |
popup-pages: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: popup-pages.test | |
serverHostname: dev.suite.sldev.cz | |
browser-support: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: browser-support.test | |
serverHostname: dev.suite.sldev.cz | |
permissions: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: permissions.test | |
serverHostname: dev.suite.sldev.cz | |
transport: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: transport.test | |
serverHostname: dev.suite.sldev.cz | |
unchained: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: unchained.test | |
serverHostname: dev.suite.sldev.cz | |
runWeb: ${{ github.event_name == 'schedule' }} | |
webextension-examples: | |
needs: [build-deploy] | |
uses: ./.github/workflows/template-connect-popup-test-params.yml | |
with: | |
testName: webextension-example.test | |
serverHostname: dev.suite.sldev.cz | |
runWebextension: true | |
runWeb: false |