From 734ba97f5fe6f6dd7586b04d15eb891030e60365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Volpe?= Date: Mon, 18 Dec 2023 14:47:10 +0100 Subject: [PATCH] check if it works --- .github/workflows/protocol_tests.yml | 25 ++++++++++++++++--- .../test-sol/{ => common}/Accounts.t.sol | 0 2 files changed, 22 insertions(+), 3 deletions(-) rename packages/protocol/test-sol/{ => common}/Accounts.t.sol (100%) diff --git a/.github/workflows/protocol_tests.yml b/.github/workflows/protocol_tests.yml index 9ba8f07d8f3..ba2df2b7ccc 100644 --- a/.github/workflows/protocol_tests.yml +++ b/.github/workflows/protocol_tests.yml @@ -38,6 +38,25 @@ jobs: - name: Compile Contracts run: forge compile - - name: Run tests - # can't use gas limit because some setUp function use more than the limit - run: forge test -vvv # --block-gas-limit 20000000 \ No newline at end of file + # - name: Run tests (all) + # # can't use gas limit because some setUp function use more than the limit + # # + # run: forge test -vvv --match-path --block-gas-limit 20000000 + + - name: Run tests common + run: forge test -vvv --match-path "test-sol/common/*" --block-gas-limit 20000000 # make it fail on purpose + + - name: Run tests compatibility + if: success() || failure() + run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/compatibility/*" + + - name: Run tests governance/network + if: success() || failure() + run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/governance/network/*" + + - name: Run tests governance/network + if: success() || failure() + run: forge test -vvv --block-gas-limit 20000000 --match-path "test-sol/governance/network/*" + + +# common/ compatibility/ governance/network/ governance/validators/ governance/voting/ stability \ No newline at end of file diff --git a/packages/protocol/test-sol/Accounts.t.sol b/packages/protocol/test-sol/common/Accounts.t.sol similarity index 100% rename from packages/protocol/test-sol/Accounts.t.sol rename to packages/protocol/test-sol/common/Accounts.t.sol