Skip to content

Commit

Permalink
Fix dependencies & bail on first error
Browse files Browse the repository at this point in the history
  • Loading branch information
niknetniko committed May 27, 2024
1 parent f3d4f43 commit a962545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/dodona-image.dockerfile
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit a962545

Please sign in to comment.