-
Notifications
You must be signed in to change notification settings - Fork 209
37 lines (31 loc) · 1.1 KB
/
run-cctp-tests.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
name: CCTP Tests
on:
workflow_dispatch:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-cctp
cancel-in-progress: true
env:
NEXT_PUBLIC_INFURA_KEY: ${{ secrets.NEXT_PUBLIC_INFURA_KEY }}
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID }}
THE_GRAPH_NETWORK_API_KEY: ${{ secrets.THE_GRAPH_NETWORK_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
cctp-e2e-tests:
name: "CCTP E2E Tests"
uses: ./.github/workflows/e2e-tests.yml
with:
test_type: 'cctp'
secrets: inherit
test-e2e-success:
name: "CCTP Test E2E Success"
runs-on: ubuntu-latest
needs: [cctp-e2e-tests]
if: always()
steps:
- name: CCTP E2E Succeeded
if: needs.cctp-e2e-tests.result == 'success' || needs.cctp-e2e-tests.result == 'skipped'
run: echo "CCTP E2E tests passed"
- name: CCTP E2E Failed
if: needs.cctp-e2e-tests.result != 'success' && needs.cctp-e2e-tests.result != 'skipped'
run: exit 1