This is the installer for the Contributoor project.
curl -O https://raw.githubusercontent.com/ethpandaops/contributoor-installer-test/refs/heads/master/install.sh && chmod +x install.sh && ./install.sh
Execute the full test suite:
go test ./...
Or just run the short tests:
go test -test.short ./...
Or with coverage:
go test -failfast -cover -coverpkg=./... -coverprofile=coverage.out ./... && go tool cover -html=coverage.out
You'll need bats
installed if you don't already.
bats *.bats
If you want to run the tests with coverage, install kcov
and you can use the following command:
kcov --bash-parser="$(which bash)" --include-pattern=install.sh /path/to/coverage/output bats --tap install.bats