From 768209de1f8611a87d8d6e5888cf03ac818787a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CF=87=C2=B2?= <88190723+ChiTimesChi@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:51:17 +0100 Subject: [PATCH] ci: fix matrix exclude for solidity packages (#3255) * ci: fix exclude keyword * ci: try adding no-op benchmark tests * Revert "ci: fix exclude keyword" This reverts commit 4b869aa5f48c491f2577e09e00d98f081bd857f9. --- packages/contracts-core/test/GasBenchmark.t.sol | 10 ++++++++++ packages/solidity-devops/test/GasBenchmark.t.sol | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 packages/contracts-core/test/GasBenchmark.t.sol create mode 100644 packages/solidity-devops/test/GasBenchmark.t.sol diff --git a/packages/contracts-core/test/GasBenchmark.t.sol b/packages/contracts-core/test/GasBenchmark.t.sol new file mode 100644 index 0000000000..69cad344db --- /dev/null +++ b/packages/contracts-core/test/GasBenchmark.t.sol @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import {Test} from "forge-std/Test.sol"; + +/// @notice No gas benchmark is required for contracts-core +contract GasBenchmarkTest is Test { + // solhint-disable-next-line no-empty-blocks + function testGasBenchmark() public {} +} diff --git a/packages/solidity-devops/test/GasBenchmark.t.sol b/packages/solidity-devops/test/GasBenchmark.t.sol new file mode 100644 index 0000000000..abbe968443 --- /dev/null +++ b/packages/solidity-devops/test/GasBenchmark.t.sol @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import {Test} from "forge-std/Test.sol"; + +/// @notice No gas benchmark is required for solidity-devops +contract GasBenchmarkTest is Test { + // solhint-disable-next-line no-empty-blocks + function testGasBenchmark() public {} +}