Skip to content

Commit

Permalink
Merge pull request #1047 from fmuyassarov/decouple-unit-test
Browse files Browse the repository at this point in the history
test: move out unit testing from Dockerfile
  • Loading branch information
k8s-ci-robot authored Feb 3, 2023
2 parents 8df1790 + ae25d53 commit 7ca2353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions scripts/test-infra/verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
Expand Down

0 comments on commit 7ca2353

Please sign in to comment.