-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00cb5e5
commit 2142619
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Run Tests On PR | ||
|
||
on: | ||
# Run tests for pull requests to the main or develop branch | ||
pull_request: | ||
branches: [main, develop] | ||
# Run tests on pushes to all branches | ||
push: | ||
branches: ["**"] | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
test: | ||
name: run forge test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
with: | ||
version: nightly | ||
|
||
- name: Run tests | ||
run: forge test -vvv |