Dashboard: Rename test Python to Misc

This commit is contained in:
Ole Schütt 2023-04-17 19:17:17 +02:00 committed by Ole Schütt
parent ba4444c29e
commit 1fa64e020a
6 changed files with 14 additions and 14 deletions

View file

@ -230,11 +230,11 @@ host: GCP
report_url: https://storage.googleapis.com/cp2k-ci/dashboard_gromacs_report.txt
info_url: http://cp2k.org/tools:gromacs
[python]
[misc]
sortkey: 620
name: Python Scripts
name: Misc
host: GCP
report_url: https://storage.googleapis.com/cp2k-ci/dashboard_python_report.txt
report_url: https://storage.googleapis.com/cp2k-ci/dashboard_misc_report.txt
[cmake]
sortkey: 625

View file

@ -1,14 +1,14 @@
#
# This file was created by generate_dockerfiles.py.
# Usage: docker build -f ./Dockerfile.test_python ../../
# Usage: docker build -f ./Dockerfile.test_misc ../../
#
FROM ubuntu:22.04
# Install dependencies.
WORKDIR /opt/cp2k
COPY ./tools/docker/scripts/install_python.sh .
RUN ./install_python.sh
COPY ./tools/docker/scripts/install_misc.sh .
RUN ./install_misc.sh
# Install sources.
ARG GIT_COMMIT_SHA
@ -20,9 +20,9 @@ COPY ./cmake ./cmake
COPY ./Makefile .
RUN bash -c "if [ -n "${GIT_COMMIT_SHA}" ] ; then echo "git:\${GIT_COMMIT_SHA::7}" > REVISION; fi"
# Run test for python.
COPY ./tools/docker/scripts/test_python.sh .
RUN ./test_python.sh 2>&1 | tee report.log
# Run test for misc.
COPY ./tools/docker/scripts/test_misc.sh .
RUN ./test_misc.sh 2>&1 | tee report.log
# Output the report if the image is old and was therefore pulled from the build cache.
CMD cat $(find ./report.log -mmin +10) | sed '/^Summary:/ s/$/ (cached)/'

View file

@ -5,12 +5,12 @@ nodepools: pool-t2d-4
build_path: /
dockerfile: /tools/docker/Dockerfile.test_precommit
[python]
display_name: Python
[misc]
display_name: Misc
cpu: 1
nodepools: pool-t2d-4
build_path: /
dockerfile: /tools/docker/Dockerfile.test_python
dockerfile: /tools/docker/Dockerfile.test_misc
#-------------------------------------------------------------------------------

View file

@ -115,7 +115,7 @@ def main() -> None:
with OutputFile(f"Dockerfile.test_{name}", args.check) as f:
f.write(toolchain_full() + test_3rd_party(name))
for name in "python", "doxygen":
for name in "misc", "doxygen":
with OutputFile(f"Dockerfile.test_{name}", args.check) as f:
f.write(test_without_build(name))

View file

@ -54,7 +54,7 @@ run_test mypy --strict ./tools/conventions/analyze_gfortran_ast.py
# done
echo ""
echo "Summary: Python tests passed"
echo "Summary: Miscellaneous tests passed"
echo "Status: OK"
#EOF