Run validate in CLI tests
This commit is contained in:
parent
025f00f924
commit
e0ef5ede98
1 changed files with 8 additions and 1 deletions
9
tests.sh
9
tests.sh
|
|
@ -25,11 +25,18 @@ poetry run \
|
||||||
poetry run \
|
poetry run \
|
||||||
enroll explain "${BUNDLE_DIR}" --format json | jq
|
enroll explain "${BUNDLE_DIR}" --format json | jq
|
||||||
|
|
||||||
|
# Validate
|
||||||
|
poetry run \
|
||||||
|
enroll validate --fail-on-warnings "${BUNDLE_DIR}"
|
||||||
|
|
||||||
# Install/remove something, harvest again and diff the harvests
|
# Install/remove something, harvest again and diff the harvests
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cowsay
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends cowsay
|
||||||
|
|
||||||
poetry run \
|
poetry run \
|
||||||
enroll harvest --out "${BUNDLE_DIR}2"
|
enroll harvest --out "${BUNDLE_DIR}2"
|
||||||
|
# Validate
|
||||||
|
poetry run \
|
||||||
|
enroll validate --fail-on-warnings "${BUNDLE_DIR}2"
|
||||||
|
# Diff
|
||||||
poetry run \
|
poetry run \
|
||||||
enroll diff \
|
enroll diff \
|
||||||
--old "${BUNDLE_DIR}" \
|
--old "${BUNDLE_DIR}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue