forked from omni-network/omni
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 961 Bytes
/
e2etestadmin.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
name: e2e contract admin tests
on:
workflow_call:
jobs:
e2e_tests:
runs-on: namespace-profile-default
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version:
nightly-9dbfb2f1115466b28f2697e158131f90df6b2590
- name: Build contracts
run: |
cd contracts
make install-pnpm
cd core
pnpm install
forge build
- name: Run tests
run: |
go run github.com/omni-network/omni/e2e admin test -f e2e/manifests/devnet1.toml
- name: Upload failed logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: failed-logs
path: e2e/failed-logs.txt
retention-days: 3