Skip to content

Commit

Permalink
Configure tests to run on push
Browse files Browse the repository at this point in the history
  • Loading branch information
kphed committed Nov 2, 2023
1 parent 481130d commit c690158
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/test.yml → .github/workflows/on-push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test
name: forge-test

on: workflow_dispatch
on: [push]

env:
FOUNDRY_PROFILE: ci
Expand All @@ -22,13 +22,10 @@ jobs:
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
env:
FOUNDRY_PROFILE: optimized
RPC_URL: ${{ secrets.BASE_RPC_URL }}
run: |
forge test -vvv
forge test -vvv --fuzz-runs 1000 --rpc-url "$BASE_RPC_URL"
id: test

0 comments on commit c690158

Please sign in to comment.