-
Notifications
You must be signed in to change notification settings - Fork 5
67 lines (56 loc) · 1.6 KB
/
test-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
57
58
59
60
61
62
63
64
65
66
67
name: Test e2e
on:
push:
branches:
- '**'
workflow_dispatch: {}
jobs:
test-e2e:
strategy:
fail-fast: false
matrix:
go-version: [ 1.21.x ]
goarch: [ "amd64" ]
e2e-group: [ "elderberry-validium", "elderberry-rollup" ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
env:
GOARCH: ${{ matrix.goarch }}
- name: Build Docker
run: make build-docker
# this is better to get the action in
- name: Install kurtosis
shell: bash
run: |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install kurtosis-cli=0.90.1
kurtosis version
- name: Disable kurtosis analytics
shell: bash
run: kurtosis analytics disable
- name: Install yq
shell: bash
run: |
pip3 install yq
yq --version
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
- name: checkout kurtosis-cdk
uses: actions/checkout@v4
with:
repository: 0xPolygon/kurtosis-cdk
ref: jesteban/cdk-seq_sender
path: "ext/kurtosis-cdk"
- name: Link kurtosis-cdk folder
shell: bash
run: mkdir -p /tmp/cdk/ && ln -s $GITHUB_WORKSPACE/ext/kurtosis-cdk /tmp/cdk/kurtosis-cdk-jesteban_cdk-seq_sender_
- name: Test
run: make test-e2e-${{ matrix.e2e-group }}
working-directory: test