Skip to content

Run on push once

Run on push once #1

Workflow file for this run

name: Integration tests
on: [ push ]
jobs:
# Runs the test suite in a slightly modified Docker image used by Dodona.
# This is the closest to actually running the production environment there is.
dodona-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -t "local-image" -f ./.github/dodona-image.dockerfile --network=host .
name: Build Dodona Docker image
- run: docker run -v /home/niko/Ontwikkeling/universal-judge:${GITHUB_WORKSPACE} -e TESTED_SOURCE=${GITHUB_WORKSPACE} local-image
name: Run tests in Dodona Docker image