-
Notifications
You must be signed in to change notification settings - Fork 18
46 lines (37 loc) · 1.21 KB
/
ci.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
name: ci
on: [push]
jobs:
tests:
name: Foundry Testing
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Foundry Toolchain
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Dependencies
run: forge install
- name: Run Size Check
run: forge build --sizes
env:
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }}
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }}
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }}
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }}
- name: Run Tests
run: forge test -vvv
env:
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }}
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }}
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }}
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }}
- name: Run Tests
run: forge test -vvv
env:
ETH_FORK_URL: ${{ secrets.ETH_FORK_URL }}
BSC_FORK_URL: ${{ secrets.BSC_FORK_URL }}
POLYGON_FORK_URL: ${{ secrets.POLYGON_FORK_URL }}
ARB_FORK_URL: ${{ secrets.ARB_FORK_URL }}