-
Notifications
You must be signed in to change notification settings - Fork 38
41 lines (31 loc) · 938 Bytes
/
test.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
name: Test
on: [pull_request, workflow_dispatch]
concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true
# Runs linter, tests, and inspection checker in parallel
jobs:
test-optimized-test-deep:
name: Run Forge Tests (optimized-test-deep)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ./.github/workflows/setup-ci
- name: Build project
run: FOUNDRY_PROFILE=optimized-build forge build
- name: Run tests
run: FOUNDRY_PROFILE=optimized-test-deep forge test -vvv
test-default:
name: Run Forge Tests (default)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ./.github/workflows/setup-ci
- name: Build project
run: forge build
- name: Run tests
run: forge test -vvv