erigon-pulse/cl/spectest/Makefile
Giulio rebuffo a7e63da066
CI Job for Consensus specs (#8483)
Consensus Specification Tests takes less than 8 minutes so I think they
can be in a PR's own CI for whenever it is ready. for reference it is
less than make test
2023-10-15 19:47:53 +02:00

20 lines
617 B
Makefile

.PHONY: clean setup example run clean
tests:
GIT_LFS_SKIP_SMUDGE=1 git clone https://github.com/ethereum/consensus-spec-tests
cd consensus-spec-tests && git checkout 70dc28b18c71f3ae080c02f51bd3421e0b60609b && git lfs pull --exclude=tests/general,tests/minimal && cd ..
mv consensus-spec-tests/tests .
rm -rf consensus-spec-tests
rm -rf tests/minimal
# not needed for now
rm -rf tests/mainnet/eip6110
# will not implement until i see it on a testnet
rm -rf tests/mainnet/deneb
clean:
rm -rf tests
mainnet:
CGO_CFLAGS=-D__BLST_PORTABLE__ go test -tags=spectest -run=/mainnet -failfast -v --timeout 30m