diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11a78ad2b542cb9b9c69e32b2e821bec42904903..ffa1aeb630b4a8ba0385393297c7cd8624f25b46 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -18,7 +18,7 @@ Python 3 POCL Examples:
   script:
   - export PY_EXE=python3
   - export PYOPENCL_TEST=portable:pthread
-  - export EXTRA_INSTALL="pyopencl mpi4py"
+  - export EXTRA_INSTALL="pyopencl mpi4py pytest"
   - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-py-project-and-run-examples.sh
   - ". ./build-py-project-and-run-examples.sh"
   tags: