mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
project maintenance
This commit is contained in:
parent
78760f6324
commit
ae35ae3c1c
11 changed files with 213 additions and 84 deletions
|
|
@ -3,23 +3,40 @@ stages:
|
|||
- build
|
||||
|
||||
|
||||
unit:
|
||||
lint:
|
||||
stage: test
|
||||
image: registry.gitlab.com/mbarkhau/pycalver/base
|
||||
script:
|
||||
- make lint
|
||||
- make mypy
|
||||
artifacts:
|
||||
reports:
|
||||
junit:
|
||||
- reports/flake8.xml
|
||||
paths:
|
||||
- reports/mypycov/
|
||||
allow_failure: false
|
||||
|
||||
|
||||
unit:
|
||||
# NOTE: Resource_group is conservative and can be disabled
|
||||
# for simple tests. It should be enabled if the tests
|
||||
# need exclusive access to some resource common external
|
||||
# resource. This will prevent multiple pipelines from
|
||||
# running concurrently.
|
||||
# resource_group: test-unit
|
||||
stage: test
|
||||
image: registry.gitlab.com/mbarkhau/pycalver/base
|
||||
script:
|
||||
- make test
|
||||
- make test_compat
|
||||
coverage: '/^(TOTAL|src).*?(\d+\%)$/'
|
||||
artifacts:
|
||||
reports:
|
||||
junit:
|
||||
- reports/flake8.xml
|
||||
- reports/pytest.xml
|
||||
paths:
|
||||
- reports/testcov/
|
||||
- reports/mypycov/
|
||||
allow_failure: false
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue