Skip to content

Instantly share code, notes, and snippets.

@Mishco
Created March 8, 2023 20:17
Show Gist options
  • Save Mishco/f48d5c71500156038b9d0685d544710b to your computer and use it in GitHub Desktop.
Save Mishco/f48d5c71500156038b9d0685d544710b to your computer and use it in GitHub Desktop.
version: "3.9"
services:
test:
environment:
- PYTHONPATH=./src
image: "sparktest"
build:
context: .
dockerfile: ./Dockerfile
volumes:
- ./our_current_project:/app
command: python3 -m coverage run --source=. -m pytest -v test/ && coverage report && coverage xml && cat coverage.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment