Skip to content

Commit

Permalink
ci: run forge test via ir
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielstoica committed Nov 22, 2024
1 parent 977495e commit ff1a9f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
run: "FOUNDRY_PROFILE=optimized forge build"
id: build

- name: "Build the test contracts"
run: "FOUNDRY_PROFILE=test-optimized forge build"
id: build-test

- name: "Run the tests"
run: "forge test -vvv"
run: "FOUNDRY_PROFILE=optimized forge test -vvv"
id: test
4 changes: 0 additions & 4 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ runs = 10_000
out = "out-optimized"
via_ir = true

# Test the optimized contracts without re-compiling them
[profile.test-optimized]
src = "test"

[fmt]
bracket_spacing = true
int_types = "long"
Expand Down

0 comments on commit ff1a9f4

Please sign in to comment.