Skip to content

Commit

Permalink
Co-authored-by: Daniel Gretzke <[email protected]>
Browse files Browse the repository at this point in the history
added different test profiles in pr
  • Loading branch information
Madeveda committed Jul 1, 2024
1 parent e05ecbc commit 3a0d6f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@ name: test
on:
pull_request:
branches: [main, master, staging, dev, feat/**, fix/**]
env:
FOUNDRY_PROFILE: pr
push:
branches: [main, master, staging, dev]
env:
FOUNDRY_PROFILE: ci

env:
FOUNDRY_PROFILE: ci
FORGE_SNAPSHOT_CHECK: true

jobs:
check:
Expand Down
6 changes: 4 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ via_ir = true
solc = "0.8.23"
verbosity = 2
ffi = true
fs_permissions = [{ access = "read-write", path = ".forge-snapshots"},
{ access = "read", path = "script/" }]
fs_permissions = [
{ access = "read-write", path = ".forge-snapshots"},
{ access = "read", path = "script/" }
]

remappings = [
"forge-std=lib/forge-std/src",
Expand Down

0 comments on commit 3a0d6f3

Please sign in to comment.