FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 0df3db00 authored by L. Bower's avatar L. Bower
Browse files

adding coverage

parent 7451fe0c
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ before_script: ...@@ -54,7 +54,7 @@ before_script:
test: test:
script: script:
- cd $CI_PROJECT_DIR/tests/unit/coordinator/ - cd $CI_PROJECT_DIR/tests/unit/coordinator/
- python3 -m coverage run -m unittest example_test.py - python3 -m coverage run -m unittest *
- python -m coverage report - python -m coverage report
- python -m coverage html -d $CI_PROJECT_DIR/coverage - python -m coverage html -d $CI_PROJECT_DIR/coverage
# - cd $CI_PROJECT_DIR/tests/integration # - cd $CI_PROJECT_DIR/tests/integration
......
import unittest
class ExampleTest(unittest.TestCase):
def setUp(self) -> None:
super().setUp()
def test_v1_dewperiod_expected_results1(self):
self.assertTrue(True)
if __name__ == '__main__':
print("hello")
unittest.main()
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