File tree Expand file tree Collapse file tree 1 file changed +5
-34
lines changed Expand file tree Collapse file tree 1 file changed +5
-34
lines changed Original file line number Diff line number Diff line change 1010 branches :
1111 - main
1212
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+
1317jobs :
1418 test :
15- name : Foundry build n test
16- runs-on : ubuntu-latest
17- steps :
18- - uses : actions/checkout@v4
19- with :
20- submodules : recursive
21- token : ${{ secrets.READ_ONLY_PAT }}
22-
23- - uses : bgd-labs/action-rpc-env@main
24- with :
25- ALCHEMY_API_KEY : ${{ secrets.ALCHEMY_API_KEY }}
26-
27- - name : Run Foundry setup
28- uses : bgd-labs/github-workflows/.github/actions/foundry-setup@main
29-
30- - name : Run Forge tests
31- id : test
32- uses : bgd-labs/github-workflows/.github/actions/foundry-test@main
33-
34- - name : Run Gas report
35- uses : bgd-labs/github-workflows/.github/actions/foundry-gas-report@main
36-
37- - name : Run Lcov report
38- uses : bgd-labs/github-workflows/.github/actions/foundry-lcov-report@main
39-
40- - name : Store artifacts
41- uses : bgd-labs/github-workflows/.github/actions/comment-artifact@main
42-
43- # we let failing tests pass so we can log them in the comment, still we want the ci to fail
44- - name : Post test
45- if : ${{ steps.test.outputs.testStatus != 0 }}
46- run : |
47- echo "tests failed"
48- exit 1
19+ uses : bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
You can’t perform that action at this time.
0 commit comments