Skip to content

Commit

Permalink
chore: add github action for foundry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saleel committed Sep 26, 2023
1 parent 42a9ee3 commit fb1eb63
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: contract-tests

on:
[push, pull_request]

jobs:
check:
name: Email Wallet Contracts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run tests
working-directory: packages/contracts
run: forge test -vvv

- name: Run snapshot
run: forge snapshot

0 comments on commit fb1eb63

Please sign in to comment.