Skip to content

Commit

Permalink
update makefile & workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanRHall committed Nov 14, 2024
1 parent 123caf2 commit d6ca3f1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
version: nightly

- name: Run forge test
- name: Run unit tests
run: |
forge test -vvv
make test
id: test
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6ca3f1

Please sign in to comment.