Proposal to fix #442

Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
dubo-dubon-duponey 2021-05-11 15:03:15 -07:00
parent 9f5dfacbbf
commit c5c15c2e1a
No known key found for this signature in database
GPG Key ID: C3B96779C681DA56
2 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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.