ci: run universe tests as a separate CI job
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
9
Makefile
9
Makefile
@@ -41,16 +41,15 @@ check-buildkit-version:
|
||||
|| { echo buildkit version mismatch go.mod != util/buildkitd/buildkitd.go ; exit 1; }
|
||||
|
||||
.PHONY: integration
|
||||
integration: dagger-debug universe-test
|
||||
$(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; })
|
||||
integration: core-integration universe-test
|
||||
|
||||
.PHONY: core-integration
|
||||
core-integration: dagger-debug
|
||||
yarn --cwd "./tests" install
|
||||
DAGGER_BINARY="../cmd/dagger/dagger-debug" yarn --cwd "./tests" test
|
||||
|
||||
.PHONY: universe-test
|
||||
universe-test: 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 "./universe" install
|
||||
DAGGER_BINARY="../cmd/dagger/dagger-debug" yarn --cwd "./universe" test
|
||||
|
||||
|
Reference in New Issue
Block a user