Skip to content

Commit f491b4a

Browse files
committed
chore: both pinned and latest
1 parent ca2583c commit f491b4a

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

.github/workflows/sub-yttrium-integration.yml

+28-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Yttrium integration tests
22

33
on:
4-
# TODO remove before merge
54
push:
65
branches:
7-
- fix/yttrium-integration-tests
6+
- fix/yttrium-integration-tests # TODO remove on:push before merge
87
workflow_dispatch:
98
inputs:
109
stage-url:
@@ -22,16 +21,16 @@ env:
2221
CARGO_TERM_COLOR: always
2322

2423
jobs:
25-
e2e:
26-
name: E2E
24+
e2e-latest:
25+
name: E2E (latest)
2726
runs-on: ubuntu-latest
2827
concurrency:
2928
group: yttrium-e2e
3029
steps:
3130
- uses: actions/checkout@v4
3231
with:
3332
repository: reown-com/yttrium
34-
ref: chore/support-yttrium-integration-blockchain-api
33+
ref: chore/support-yttrium-integration-blockchain-api # TODO main before merge
3534
submodules: recursive
3635
- name: Run sccache-cache
3736
uses: mozilla-actions/sccache-action@v0.0.4
@@ -43,4 +42,27 @@ jobs:
4342
RUST_BACKTRACE: 1
4443
RUST_LOG: yttrium=trace
4544
# BLOCKCHAIN_API_URL: ${{ inputs.stage-url }}
46-
BLOCKCHAIN_API_URL: "https://staging.rpc.walletconnect.org"
45+
BLOCKCHAIN_API_URL: "https://staging.rpc.walletconnect.org" # TODO switch to inputs.stage-url before merge
46+
47+
e2e-pinned:
48+
name: E2E (pinned)
49+
runs-on: ubuntu-latest
50+
concurrency:
51+
group: yttrium-e2e
52+
steps:
53+
- uses: actions/checkout@v4
54+
with:
55+
repository: reown-com/yttrium
56+
ref: chore/support-yttrium-integration-blockchain-api # TODO pin to commit ref before merge
57+
submodules: recursive
58+
- name: Run sccache-cache
59+
uses: mozilla-actions/sccache-action@v0.0.4
60+
- run: rustup update stable && rustup default stable
61+
- run: cargo test -p yttrium --features=test_blockchain_api chain_abstraction::tests::happy_path_execute_method
62+
env:
63+
REOWN_PROJECT_ID: ${{ secrets.PROJECT_ID }}
64+
FAUCET_MNEMONIC: ${{ secrets.FAUCET_MNEMONIC }}
65+
RUST_BACKTRACE: 1
66+
RUST_LOG: yttrium=trace
67+
# BLOCKCHAIN_API_URL: ${{ inputs.stage-url }}
68+
BLOCKCHAIN_API_URL: "https://staging.rpc.walletconnect.org" # TODO switch to inputs.stage-url before merge

0 commit comments

Comments
 (0)