Merge pull request #443 from dubo-dubon-duponey/sop

Proposal to fix #442
This commit is contained in:
Andrea Luzzardi 2021-05-12 11:29:16 -07:00 committed by GitHub
commit 2d067c19b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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.