From fa3c356711d86349876dee573a3651de86295adb Mon Sep 17 00:00:00 2001 From: qd-qd Date: Wed, 9 Aug 2023 17:41:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20CI=20filter=20unrelevant=20tests?= =?UTF-8?q?=20from=20gas=20snapshot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3e52f4a..b97a77e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,7 +49,7 @@ jobs: # TODO: Rework the job to correctly print the output of the test command - name: Run tests with gas reporting - run: forge test --gas-report > gasreport.ansi + run: forge test --gas-report --no-match-test "test(Fuzz)?_RevertWhen_\\w{1,}?" > gasreport.ansi - name: Compare gas reports uses: Rubilmax/foundry-gas-diff@v3.14