mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +00:00
test: move out unit testing from Dockerfile
Move out running unit tests as part of container image building and instead add it into verify.sh script which runs linter, formatter and other checks. Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
This commit is contained in:
parent
1aa76029ac
commit
ae25d5319b
2 changed files with 3 additions and 2 deletions
|
@ -27,8 +27,6 @@ ARG HOSTMOUNT_PREFIX
|
|||
|
||||
RUN make install VERSION=$VERSION HOSTMOUNT_PREFIX=$HOSTMOUNT_PREFIX
|
||||
|
||||
RUN make test
|
||||
|
||||
# Create full variant of the production image
|
||||
FROM ${BASE_IMAGE_FULL} as full
|
||||
|
||||
|
|
|
@ -21,6 +21,9 @@ make ci-lint
|
|||
echo "Running Helm lint"
|
||||
make helm-lint
|
||||
|
||||
echo "Running unit tests"
|
||||
make test
|
||||
|
||||
# Check that repo is clean
|
||||
if ! git diff --quiet; then
|
||||
echo "Repository is dirty!"
|
||||
|
|
Loading…
Reference in a new issue