From ff1a9f465dcbbb6d12c600e05d2ea5c2075d3c2c Mon Sep 17 00:00:00 2001 From: gabrielstoica Date: Fri, 22 Nov 2024 09:19:56 +0200 Subject: [PATCH] ci: run forge test via ir --- .github/workflows/test.yml | 6 +----- foundry.toml | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c2feb4..049beb0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/foundry.toml b/foundry.toml index 3c360c4..b2a9547 100644 --- a/foundry.toml +++ b/foundry.toml @@ -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"