tests: enable shellcheck for universe tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
5d2392b38c
commit
3339a351ed
1
Makefile
1
Makefile
@ -28,6 +28,7 @@ cuelint: cuefmt
|
|||||||
.PHONY: shellcheck
|
.PHONY: shellcheck
|
||||||
shellcheck:
|
shellcheck:
|
||||||
shellcheck ./tests/*.bats ./tests/*.bash
|
shellcheck ./tests/*.bats ./tests/*.bash
|
||||||
|
shellcheck ./universe/*.bats ./universe/*.bash
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: shellcheck cuelint golint check-buildkit-version docslint
|
lint: shellcheck cuelint golint check-buildkit-version docslint
|
||||||
|
@ -3,7 +3,7 @@ common_setup() {
|
|||||||
load 'node_modules/bats-assert/load'
|
load 'node_modules/bats-assert/load'
|
||||||
|
|
||||||
# Dagger Binary
|
# Dagger Binary
|
||||||
DAGGER="${DAGGER_BINARY:-$(which dagger)}"
|
DAGGER="${DAGGER_BINARY:-$(command -v dagger)}"
|
||||||
export DAGGER
|
export DAGGER
|
||||||
|
|
||||||
# Set the workspace to the universe directory (so tests can run from anywhere)
|
# Set the workspace to the universe directory (so tests can run from anywhere)
|
||||||
|
Reference in New Issue
Block a user