diff --git a/.github/workflows/cov.yml b/.github/workflows/cov.yml index 4a16344..4990b74 100644 --- a/.github/workflows/cov.yml +++ b/.github/workflows/cov.yml @@ -22,7 +22,7 @@ jobs: with: version: nightly - - name: Run forge coverage + - name: Check test coverage run: | - forge coverage --no-match-coverage "(script|test|examples|v0|mocks)" + make coverage id: coverage diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index caa6942..b1e60e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: with: version: nightly - - name: Run forge test + - name: Run unit tests run: | - forge test -vvv + make test id: test diff --git a/Makefile b/Makefile index a1d8fa8..62a6b3c 100644 --- a/Makefile +++ b/Makefile @@ -65,14 +65,14 @@ endef $(foreach chain,${CHAINS},$(foreach script,${SCRIPT_NAMES},$(eval $(call make-command-rule,${script},${chain})))) # Other non-generic rules -install :; forge install -update :; forge update -build :; forge build -test :; forge test --fork-url sepolia -trace :; forge test -vvv -clean :; forge clean -snapshot:; forge snapshot -fmt :; forge fmt +install :; forge install +update :; forge update +build :; forge build +test :; forge test -vvv +coverage :; forge coverage -v --no-match-coverage "(script|test|examples|v0|mocks)" +clean :; forge clean +snapshot :; forge snapshot +fmt :; forge fmt # List available scripts list-scripts: