chore: both pinned and latest #2
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: Yttrium integration tests | |
on: | |
push: | |
branches: | |
- fix/yttrium-integration-tests # TODO remove on:push before merge | |
workflow_dispatch: | |
inputs: | |
stage-url: | |
description: 'RPC URL' | |
required: false | |
default: 'https://staging.rpc.walletconnect.org' | |
workflow_call: | |
inputs: | |
stage-url: | |
type: string | |
required: true | |
description: 'Stage RPC URL' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
e2e-latest: | |
name: E2E (latest) | |
runs-on: ubuntu-latest | |
concurrency: | |
group: yttrium-e2e | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: reown-com/yttrium | |
ref: chore/support-yttrium-integration-blockchain-api # TODO main before merge | |
submodules: recursive | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.4 | |
- run: rustup update stable && rustup default stable | |
- run: cargo test -p yttrium --features=test_blockchain_api chain_abstraction::tests::happy_path_execute_method | |
env: | |
REOWN_PROJECT_ID: ${{ secrets.PROJECT_ID }} | |
FAUCET_MNEMONIC: ${{ secrets.FAUCET_MNEMONIC }} | |
RUST_BACKTRACE: 1 | |
RUST_LOG: yttrium=trace | |
# BLOCKCHAIN_API_URL: ${{ inputs.stage-url }} | |
BLOCKCHAIN_API_URL: "https://staging.rpc.walletconnect.org" # TODO switch to inputs.stage-url before merge | |
e2e-pinned: | |
name: E2E (pinned) | |
runs-on: ubuntu-latest | |
concurrency: | |
group: yttrium-e2e | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: reown-com/yttrium | |
ref: chore/support-yttrium-integration-blockchain-api # TODO pin to commit ref before merge | |
submodules: recursive | |
- name: Run sccache-cache | |
uses: mozilla-actions/sccache-action@v0.0.4 | |
- run: rustup update stable && rustup default stable | |
- run: cargo test -p yttrium --features=test_blockchain_api chain_abstraction::tests::happy_path_execute_method | |
env: | |
REOWN_PROJECT_ID: ${{ secrets.PROJECT_ID }} | |
FAUCET_MNEMONIC: ${{ secrets.FAUCET_MNEMONIC }} | |
RUST_BACKTRACE: 1 | |
RUST_LOG: yttrium=trace | |
# BLOCKCHAIN_API_URL: ${{ inputs.stage-url }} | |
BLOCKCHAIN_API_URL: "https://staging.rpc.walletconnect.org" # TODO switch to inputs.stage-url before merge |