From a962545328061bda6e627810ceccc2a1e2222975 Mon Sep 17 00:00:00 2001 From: Niko Strijbol Date: Mon, 27 May 2024 16:47:58 +0200 Subject: [PATCH] Fix dependencies & bail on first error --- .github/dodona-image.dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/dodona-image.dockerfile b/.github/dodona-image.dockerfile index 2e571a00..242300fb 100644 --- a/.github/dodona-image.dockerfile +++ b/.github/dodona-image.dockerfile @@ -1,12 +1,12 @@ # Inherit from the Docker image for Dodona. -FROM dodona/dodona-tested +FROM tested-v2 # Go back to being root. USER root WORKDIR / # Install some additional dependencies needed for testing. -RUN pip install --no-cache-dir --upgrade pytest pytest-mock pytest-xdist +RUN pip install --no-cache-dir --upgrade pytest pytest-mock pytest-xdist jinja2 marko # The source of the judge is available in TESTED_SOURCE. -CMD pytest -n auto ${TESTED_SOURCE}/tests/ +CMD pytest -x -n auto ${TESTED_SOURCE}/tests/