mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Added explicit testing during container build. It isn't possible to build the container if it doesn'nt pass the tests.
This commit is contained in:
@@ -60,5 +60,10 @@ RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
||||
ln -sf "$CMAIS_PATH"/main.py /usr/local/bin/cymais && \
|
||||
chmod +x /usr/local/bin/cymais
|
||||
|
||||
# 10) Run integration tests
|
||||
RUN CMAIS_PATH=$(pkgmgr path cymais) && \
|
||||
cd "$CMAIS_PATH" && \
|
||||
make test
|
||||
|
||||
ENTRYPOINT ["cymais"]
|
||||
CMD ["--help"]
|
||||
|
Reference in New Issue
Block a user