taskwiki/docker-compose.yml
Tomas Janousek 7663a58793 tests: Fix coverage reporting
Coverage reporting wasn't migrated into the docker container and
therefore did nothing at all.
2020-07-02 09:51:56 -04:00

17 lines
403 B
YAML

version: '3'
services:
tests:
build: .
volumes:
- ".:/root/.vim/bundle/taskwiki:ro"
network_mode: "host"
security_opt:
- label=type:container_runtime_t
tty: true
command: make xvfb-cover-pytest
environment:
PYTEST_FLAGS: "-o cache_dir=/tmp/pytest-cache ${PYTEST_FLAGS:-}"
TRAVIS:
TRAVIS_JOB_ID:
TRAVIS_BRANCH:
TRAVIS_PULL_REQUEST: