File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 4747 - name : Run tests with minimal solidity version
4848 run : make SOLC_VERSION=${{ env.MINIMAL_SOLC_VERSION }} test
4949
50+ - name : Build via IR-pipeline
51+ run : make FOUNDRY_PROFILE=ir build
52+
53+ - name : Run snapshot tests via IR-pipeline
54+ run : make FOUNDRY_PROFILE=ir snapshot
55+
5056 slither :
5157 name : Slither analysis
5258 needs : contract-test
Original file line number Diff line number Diff line change 1- FORGE =forge
2- SOLC_VERSION =0.8.24
31FOUNDRY_PROFILE =default
2+ FORGE=FOUNDRY_PROFILE =$(FOUNDRY_PROFILE ) forge
3+ SOLC_VERSION =0.8.24
44DOCKER =docker
55ABIGEN ="$(DOCKER ) run -v .:/workspace -w /workspace -it ethereum/client-go:alltools-v1.11.6 abigen"
66SOLHINT =npx solhint
@@ -14,11 +14,11 @@ TEST_MNEMONIC="math razor capable expose worth grape metal sunset metal sudden u
1414
1515.PHONY : build
1616build :
17- @ $(FORGE ) build --sizes --skip test --use solc:$(SOLC_VERSION )
17+ $(FORGE ) build --sizes --skip test --use solc:$(SOLC_VERSION )
1818
1919.PHONY : fmt
2020fmt :
21- @ $(FORGE ) fmt $(FORGE_FMT_OPTS )
21+ $(FORGE ) fmt $(FORGE_FMT_OPTS )
2222
2323.PHONY : lint
2424lint :
@@ -27,11 +27,15 @@ lint:
2727
2828.PHONY : test
2929test :
30- @FOUNDRY_PROFILE=$(FOUNDRY_PROFILE ) $(FORGE ) snapshot -vvvv --gas-report --isolate --use solc:$(SOLC_VERSION ) $(FORGE_SNAPSHOT_OPTION )
30+ $(FORGE ) test -vvvv --gas-report --isolate --use solc:$(SOLC_VERSION ) $(FORGE_SNAPSHOT_OPTION )
31+
32+ .PHONY : snapshot
33+ snapshot :
34+ $(FORGE ) snapshot -vvvv --gas-report --isolate --use solc:$(SOLC_VERSION ) $(FORGE_SNAPSHOT_OPTION )
3135
3236.PHONY : coverage
3337coverage :
34- @ $(FORGE ) coverage --use solc:$(SOLC_VERSION )
38+ $(FORGE ) coverage --use solc:$(SOLC_VERSION )
3539
3640.PHONY : slither
3741slither :
You can’t perform that action at this time.
0 commit comments