Skip to content
Snippets Groups Projects
Commit 36b8ad30 authored by Martin Lange's avatar Martin Lange
Browse files

recover test coverage

parent 05b5269b
No related branches found
No related tags found
1 merge request!136Remove all matplotlib stuff
Pipeline #123735 passed with stages
in 2 minutes and 51 seconds
...@@ -19,7 +19,7 @@ test: ...@@ -19,7 +19,7 @@ test:
stage: test stage: test
script: script:
- pip3 install --editable .[test] - pip3 install --editable .[test]
- python -m pytest --cov finam --cov-report html:cov --cov-report term-missing --cov-report xml:cov.xml -v tests/ - python -m pytest --cov finam --cov-report term-missing --cov-report html:cov --cov-report xml:cov.xml -v tests/
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts: artifacts:
reports: reports:
......
...@@ -40,6 +40,7 @@ class TestCallback(unittest.TestCase): ...@@ -40,6 +40,7 @@ class TestCallback(unittest.TestCase):
inputs={"In1": Info(None, grid=NoGrid())}, inputs={"In1": Info(None, grid=NoGrid())},
start=datetime(2000, 1, 1), start=datetime(2000, 1, 1),
step=timedelta(days=7), step=timedelta(days=7),
log_data="DEBUG",
) )
composition = Composition([source, trans, consumer]) composition = Composition([source, trans, consumer])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment