|
1 | 1 | name: Yttrium integration tests
|
2 | 2 |
|
3 | 3 | on:
|
4 |
| - # TODO remove before merge |
5 | 4 | push:
|
6 | 5 | branches:
|
7 |
| - - fix/yttrium-integration-tests |
| 6 | + - fix/yttrium-integration-tests # TODO remove on:push before merge |
8 | 7 | workflow_dispatch:
|
9 | 8 | inputs:
|
10 | 9 | stage-url:
|
|
22 | 21 | CARGO_TERM_COLOR: always
|
23 | 22 |
|
24 | 23 | jobs:
|
25 |
| - e2e: |
26 |
| - name: E2E |
| 24 | + e2e-latest: |
| 25 | + name: E2E (latest) |
27 | 26 | runs-on: ubuntu-latest
|
28 | 27 | concurrency:
|
29 | 28 | group: yttrium-e2e
|
30 | 29 | steps:
|
31 | 30 | - uses: actions/checkout@v4
|
32 | 31 | with:
|
33 | 32 | repository: reown-com/yttrium
|
34 |
| - ref: chore/support-yttrium-integration-blockchain-api |
| 33 | + ref: chore/support-yttrium-integration-blockchain-api # TODO main before merge |
35 | 34 | submodules: recursive
|
36 | 35 | - name: Run sccache-cache
|
37 | 36 | uses: mozilla-actions/sccache-action@v0.0.4
|
|
43 | 42 | RUST_BACKTRACE: 1
|
44 | 43 | RUST_LOG: yttrium=trace
|
45 | 44 | # 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