Proposal to fix #442
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
parent
9f5dfacbbf
commit
c5c15c2e1a
2
Makefile
2
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
|
||||
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user