-
Notifications
You must be signed in to change notification settings - Fork 220
56 lines (51 loc) · 1.88 KB
/
multichain-e2e.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
name: Multichain E2E Tests
on:
workflow_dispatch:
inputs:
test_type:
description: 'Select which test to run'
type: choice
required: true
options:
- orchestration-api-hermes
- fast-usdc-hermes
- orchestration-api-go-relayer
- fast-usdc-go-relayer
workflow_call:
jobs:
orchestration-api-hermes:
name: Multichain E2E (Orchestration API - Hermes)
if: |
github.event_name == 'workflow_call' ||
github.event_name == 'pull_request' ||
(github.event_name == 'workflow_dispatch' && inputs.test_type == 'orchestration-api-hermes')
uses: ./.github/workflows/multichain-e2e-template.yml
with:
config: config.yaml
test_command: yarn test:main
fast-usdc-hermes:
name: Multichain E2E (Fast USDC - Hermes)
if: |
github.event_name == 'workflow_call' ||
github.event_name == 'pull_request' ||
(github.event_name == 'workflow_dispatch' && inputs.test_type == 'fast-usdc-hermes')
uses: ./.github/workflows/multichain-e2e-template.yml
with:
config: config.fusdc.yaml
test_command: yarn test:fast-usdc
orchestration-api-go-relayer:
name: Multichain E2E (Orchestration API - Go Relayer)
# run on dispatch only
if: github.event_name == 'workflow_dispatch' && inputs.test_type == 'orchestration-api-go-relayer'
uses: ./.github/workflows/multichain-e2e-template.yml
with:
config: config.go-relayer.yaml
test_command: RELAYER_TYPE=go-relayer yarn test:main
fast-usdc-go-relayer:
name: Multichain E2E (Fast USDC - Go Relayer)
# run on dispatch only
if: github.event_name == 'workflow_dispatch' && inputs.test_type == 'fast-usdc-go-relayer'
uses: ./.github/workflows/multichain-e2e-template.yml
with:
config: config.fusdc.go-relayer.yaml
test_command: RELAYER_TYPE=go-relayer yarn test:fast-usdc