bumpver/.gitlab-ci.yml
2020-07-19 13:58:33 +00:00

37 lines
641 B
YAML

stages:
- test
- build
unit:
stage: test
image: registry.gitlab.com/mbarkhau/pycalver/base
script:
- make lint
- make mypy
- make test
- make test_compat
coverage: '/^(TOTAL|src).*?(\d+\%)$/'
artifacts:
reports:
junit:
- reports/flake8.xml
- reports/pytest.xml
paths:
- reports/htmlcov/
- reports/mypycov/
allow_failure: false
pages:
stage: build
script:
- mkdir -p public/cov
- mkdir -p public/mypycov
- cp -r reports/htmlcov/* public/cov/
- cp -r reports/mypycov/* public/mypycov/
artifacts:
paths:
- public
only:
- master