diff --git a/Makefile b/Makefile index a5004219..50641073 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,8 @@ check-buildkit-version: .PHONY: integration integration: dagger-debug + $(shell command -v sops > /dev/null || { echo "You need sops. On macOS: brew install sops"; exit 1; }) + $(shell command -v parallel > /dev/null || { echo "You need gnu parallel. On macOS: brew install parallel"; exit 1; }) yarn --cwd "./tests" install DAGGER_BINARY="../cmd/dagger/dagger-debug" yarn --cwd "./tests" test diff --git a/tests/README.md b/tests/README.md index 8a5db63f..7d339409 100644 --- a/tests/README.md +++ b/tests/README.md @@ -4,10 +4,20 @@ ``` # Install dependancies -yarn --cwd install +yarn install + +# Install gnu parallel if needed +# macOS +brew install parallel +# Debian derivatives +# apt-get install parallel + +# Install sops if needed +# macOS +brew install sops # Run all tests -yarn --cwd test +yarn test ``` By default, the `dagger` binary is expected to be found in `../cmd/dagger/dagger` relative to the `tests` directory.