services:

  # No bind mount: the source is COPYed into the image (rebuilt each run with
  # --build) and the container runs as root, so mounting the workspace would
  # leave root-owned __pycache__/.pytest_cache files that the Jenkins user
  # can't `git clean` on the next build.
  lint-and-test:
    platform: linux/amd64
    build:
      context: .
      dockerfile: Dockerfile.tests
