-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (33 loc) · 1.17 KB
/
main.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
name: Test CI
on: push
jobs:
build:
name: Unit & Integration tests
env:
ETHEREUM_URL: ${{ secrets.ETHEREUM_URL }}
POLYGON_URL: ${{ secrets.POLYGON_URL }}
ARBITRUM_URL: ${{ secrets.ARBITRUM_URL }}
OPTIMISM_URL: ${{ secrets.OPTIMISM_URL }}
BASE_URL: ${{ secrets.BASE_URL }}
CRONOS_URL: ${{ secrets.CRONOS_URL }}
MANTLE_URL: ${{ secrets.MANTLE_URL }}
BSC_URL: ${{ secrets.BSC_URL }}
LINEA_URL: ${{ secrets.LINEA_URL }}
SEPOLIA_URL: ${{ secrets.SEPOLIA_URL }}
GOERLI_URL: ${{ secrets.GOERLI_URL }}
BASE_GOERLI_URL: ${{ secrets.BASE_GOERLI_URL }}
CRONOS_TESTNET_URL: ${{ secrets.CRONOS_TESTNET_URL }}
MANTLE_TESTNET_URL: ${{ secrets.MANTLE_TESTNET_URL }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Install dependencies
run: forge install
- name: Run unit tests
run: forge test --match-path "test/unit/*" --force -vvv
- name: Run integration tests
run: forge test --match-path "test/integration/*" -vvv