-
Notifications
You must be signed in to change notification settings - Fork 181
Expand file tree
/
Copy pathtests-compatibility-foundry.yml
More file actions
72 lines (61 loc) · 1.89 KB
/
tests-compatibility-foundry.yml
File metadata and controls
72 lines (61 loc) · 1.89 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
name: Compatibility Tests for Foundry
on:
push:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry.yml'
pull_request:
branches: [main, develop]
paths:
- 'tests/evm-tools-compatibility/foundry/**'
- '../../scripts/tests_compatibility_setup.sh'
- '../../scripts/tests_compatibility_foundry.sh'
- 'local_node.sh'
- 'tests-compatibility-foundry.yml'
permissions:
contents: read
jobs:
foundry-compatibility:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl git
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build and install evmd
run: |
make install
- name: Run foundry compatibility tests
run: |
chmod +x scripts/tests_compatibility_foundry.sh
./scripts/tests_compatibility_foundry.sh --verbose
env:
COMPAT_DIR: ${{ github.workspace }}/tests/evm-tools-compatibility