2 # Jobs to test gmxapi client (Python) packages
5 .gmxapi-0.3:gcc-7:gmx2022:
9 image: ${CI_REGISTRY}/gromacs/gromacs/ci-ubuntu-18.04-gcc-7
12 KUBERNETES_CPU_LIMIT: 2
13 KUBERNETES_CPU_REQUEST: 2
14 KUBERNETES_MEMORY_LIMIT: 2Gi
15 KUBERNETES_MEMORY_REQUEST: 2Gi
16 PY_UNIT_TEST_XML: $CI_PROJECT_DIR/py-JUnitTestResults.xml
17 PY_MPI_UNIT_TEST_XML: $CI_PROJECT_DIR/py-mpi-JUnitTestResults.xml
18 PY_ACCEPTANCE_TEST_XML: $CI_PROJECT_DIR/gmxapi-acceptance-JUnitTestResults.xml
19 PY_MPI_ACCEPTANCE_TEST_XML: $CI_PROJECT_DIR/gmxapi-acceptance-mpi-JUnitTestResults.xml
21 - source $INSTALL_DIR/bin/GMXRC
22 - source $VENVPATH/bin/activate && INSTALL_DIR=$PWD/$INSTALL_DIR OMP_NUM_THREADS=1 bash admin/ci-scripts/build-and-test-py-gmxapi-0.3.sh
27 - $PY_MPI_UNIT_TEST_XML
28 - $PY_ACCEPTANCE_TEST_XML
29 - $PY_MPI_ACCEPTANCE_TEST_XML
34 # The dependency means we need to use the same tag restriction as upstream.
36 - job: gromacs:gcc-7:build
39 gmxapi-0.3:gcc-7:gmx2022:py-3.7.7:
41 - .gmxapi-0.3:gcc-7:gmx2022
42 - .rules:merge-requests:master
44 VENVPATH: "/root/venv/py3.7"
47 gmxapi-0.3:gcc-7:gmx2022:py-3.8.2:
49 - .gmxapi-0.3:gcc-7:gmx2022
50 - .rules:merge-requests:master
52 VENVPATH: "/root/venv/py3.8"