-
Notifications
You must be signed in to change notification settings - Fork 2
77 lines (68 loc) · 2.98 KB
/
Copy pathccip-e2e-tests.yml
File metadata and controls
77 lines (68 loc) · 2.98 KB
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
69
70
71
72
73
74
75
76
77
name: CCIP E2E Tests
on:
push:
branches: [develop, main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-ccip-e2e:
permissions:
id-token: write
contents: read
pull-requests: write
name: CCIP E2E tests
runs-on: ubuntu-latest-8cores-32GB
steps:
# Required so later local composite actions resolve on disk (see actions/checkout#335).
- name: Check out workflow ref
uses: actions/checkout@v6
- name: Setup CCIP devenv
uses: ./.github/actions/setup-ccip-devenv
with:
ccv-iam-role: ${{ secrets.CCV_IAM_ROLE }}
jd-registry: ${{ secrets.JD_REGISTRY }}
jd-image: ${{ secrets.JD_IMAGE }}
- name: Run CCIP TestEVM2Canton_Basic test
working-directory: chainlink-canton/ccip/devenv/tests/e2e
run: |
go test -timeout 5m -v -count 1 -run '^TestEVM2Canton_Basic$/^message_transfer$'
continue-on-error: true
id: test_run_evm2canton_basic
- name: Run CCIP TestCanton2EVM_Basic test
working-directory: chainlink-canton/ccip/devenv/tests/e2e
run: |
go test -timeout 8m -v -count 1 -run 'TestCanton2EVM_Basic/EOA_receiver_and_default_committee_verifier$'
continue-on-error: true
id: test_run_canton2evm_basic
- name: Run CCIP TestIntegration_SourceReader_CurseDetection test
working-directory: chainlink-canton/ccip/devenv/tests/integration
run: |
go test -timeout 5m -v -count 1 -run TestIntegration_SourceReader_CurseDetection
continue-on-error: true
id: test_run_sourcereader_curse_detection
- name: Run CCIP EVM2Canton token transfer
working-directory: chainlink-canton/ccip/devenv/tests/e2e
run: |
go test -timeout 8m -v -count 1 -run 'TestEVM2Canton_Basic/token_transfer'
continue-on-error: true
id: test_run_evm2canton_token_transfer
- name: Run CCIP Canton2EVM token transfer
working-directory: chainlink-canton/ccip/devenv/tests/e2e
run: |
go test -timeout 8m -v -count 1 -run 'TestCanton2EVM_Basic/EOA_receiver_and_default_committee_verifier_token_transfer$'
continue-on-error: true
id: test_run_canton2evm_token_transfer
- name: Upload devenv logs
if: always()
uses: ./chainlink-canton/.github/actions/upload-ccip-devenv-logs
with:
test-package-dir: e2e
log-dump-suffix: ccip-e2e-tests
artifact-name: container-logs-ccip-e2e-tests
- name: Check test results
if: always() && (steps.test_run_evm2canton_basic.outcome == 'failure' || steps.test_run_canton2evm_basic.outcome == 'failure' || steps.test_run_sourcereader_curse_detection.outcome == 'failure' || steps.test_run_evm2canton_token_transfer.outcome == 'failure' || steps.test_run_canton2evm_token_transfer.outcome == 'failure')
run: |
echo "CCIP E2E tests failed."
exit 1