-
Notifications
You must be signed in to change notification settings - Fork 57
68 lines (64 loc) · 2.31 KB
/
sub-yttrium-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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