Skip to content

Commit ac5ccf2

Browse files
committed
Run unitests.
1 parent 9d15b8e commit ac5ccf2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/Dockerfile.python_wheels

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ COPY --exclude=.git --exclude=.github --exclude=docker --exclude=dist \
2121
RUN ${PYTHON_CMD} -m build --wheel
2222
RUN auditwheel repair dist/*.whl --wheel-dir dist_out
2323

24+
FROM build AS test
25+
RUN ${PYTHON_CMD} -m pip install dist_out/*.whl
26+
RUN ${PYTHON_CMD} -m unittest discover -v -s tests -p '*.py'
27+
2428
FROM scratch AS export
2529
COPY --from=build /src/dist_out /dist

0 commit comments

Comments
 (0)