forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 13
74 lines (69 loc) · 1.95 KB
/
spectests.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
68
69
70
71
72
73
74
name: Execution spec tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master, kaustinen-with-shapella ]
workflow_dispatch:
jobs:
spectests:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
# python-version: 'pypy3.10'
cache: ''
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.4
- name: Fill tests
run: |
export PATH=$PATH:/home/devops/.cargo/bin
go build -v ./cmd/evm
git clone https://github.com/ethereum/execution-spec-tests -b verkle/main
cd execution-spec-tests
python3 -m venv venv
. ./venv/bin/activate
pip install -e ".[docs,lint,test]"
fill --fork EIP6800Transition -n 4 --evm-dump-dir=../tmp -v -m blockchain_test --evm-bin=../evm
- name: Consume tests
run: ./evm blocktest ./tmp
lint:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.1
- name: Download golangci-lint
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.2
- name: Lint
run: ./bin/golangci-lint run
- name: Vet
run: go vet
test:
runs-on: self-hosted
needs: [test-process-verkle]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.1
- name: Test
run: go test ./... -timeout=20m
test-process-verkle:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.1
- name: Test
run: go test ./core -run=TestProcessVerkle