-
Notifications
You must be signed in to change notification settings - Fork 14
38 lines (37 loc) · 1.05 KB
/
e2e.yml
File metadata and controls
38 lines (37 loc) · 1.05 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
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
e2e:
name: E2E Tests
strategy:
matrix:
go-version: [ 1.15.x ]
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Update chainbridge-core, celo-module
run: |
go get -u -v github.com/ChainSafe/chainbridge-core
go get -u -v github.com/ChainSafe/chainbridge-celo-module
- name: Run nodes
run: docker-compose -f ./docker-compose.e2e.yml up -d
- name: Run tests
run: make e2e-test
- name: Print logs
if: always()
run: |
docker ps -a
docker logs relayer1