fix grep regression

This commit is contained in:
Manuel Barkhau 2020-10-04 21:37:03 +00:00
parent b5df665251
commit 43fe8df1fd
3 changed files with 30 additions and 29 deletions

View file

@ -18,7 +18,7 @@ lint:
allow_failure: false
unit:
test:
# NOTE: Resource_group is conservative and can be disabled
# for simple tests. It should be enabled if the tests
# need exclusive access to some common resource. The
@ -29,7 +29,6 @@ unit:
image: registry.gitlab.com/mbarkhau/pycalver/base
script:
- make test
- make test_compat
coverage: '/^(TOTAL|src).*?(\d+\%)$/'
artifacts:
reports:
@ -39,6 +38,18 @@ unit:
- reports/testcov/
allow_failure: false
test_compat:
# NOTE: Resource_group is conservative and can be disabled
# for simple tests. It should be enabled if the tests
# need exclusive access to some common resource. The
# resource_group will prevent multiple pipelines from
# running concurrently.
# resource_group: test-unit
stage: test
image: registry.gitlab.com/mbarkhau/pycalver/base
script:
- make test_compat
allow_failure: false
pages:
stage: build