Skip to content

Commit 84a9b46

Browse files
authored
feat / CI: Add GitHub Actions workflow for Foundry tests (#70)
* ci: add GitHub Actions workflow for Foundry tests * ci: add GitHub Actions workflow for Foundry tests * ci: add GitHub Actions workflow for Foundry tests * ci: add GitHub Actions workflow for Foundry tests
1 parent 0d0e437 commit 84a9b46

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Foundry Tests
2+
3+
on:
4+
push:
5+
branches: [main, develop]
6+
pull_request:
7+
branches: [main, develop]
8+
9+
jobs:
10+
test:
11+
name: Run Foundry Tests
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: recursive
17+
18+
- name: Install Foundry
19+
uses: foundry-rs/foundry-toolchain@v1
20+
with:
21+
version: stable
22+
23+
- name: Run Foundry Tests
24+
env:
25+
MY_ADDRESS: ${{ secrets.MY_ADDRESS }}
26+
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
27+
run: |
28+
cd be
29+
forge install
30+
forge test -vvv

0 commit comments

Comments
 (0)