mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-28 02:37:11 +00:00
Merge pull request #1047 from fmuyassarov/decouple-unit-test
test: move out unit testing from Dockerfile
This commit is contained in:
commit
7ca2353250
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…
Add table
Reference in a new issue