We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c50fe2 commit ca1698fCopy full SHA for ca1698f
1 file changed
docker/Dockerfile.python_wheels
@@ -21,5 +21,11 @@ COPY --exclude=.git --exclude=.github --exclude=docker --exclude=dist \
21
RUN ${PYTHON_CMD} -m build --wheel
22
RUN auditwheel repair dist/*.whl --wheel-dir dist_out
23
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
+RUN date > dist_out/test_done.ts
28
+
29
FROM scratch AS export
30
COPY --from=build /src/dist_out /dist
31
+COPY --from=test /src/dist_out/test_done.ts /dist
0 commit comments