12 lines
363 B
YAML
12 lines
363 B
YAML
tests:
|
|
stage: test
|
|
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
|
|
image: python:3.7
|
|
before_script:
|
|
- pip install poetry --quiet
|
|
- poetry config cache-dir .cache/poetry
|
|
- poetry config virtualenvs.in-project true
|
|
- poetry install --no-interaction --quiet
|
|
script:
|
|
- poetry run coverage run --module unittest
|
|
- poetry run coverage report
|