Skip to content
Snippets Groups Projects
Commit f55c44e7 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Add branch coverage

parent a943f1fe
No related branches found
No related tags found
1 merge request!416Add branch coverage
Pipeline #99262 failed
...@@ -23,7 +23,7 @@ before_script: ...@@ -23,7 +23,7 @@ before_script:
.run-test: .run-test:
stage: test stage: test
script: script:
- pytest --cov=b_asic --cov-report=xml:cov.xml --cov-report=term --color=yes test --mpl --timeout=20 --durations=10 - pytest --cov=b_asic --cov-report=xml:cov.xml --cov-report=term --cov-branch --color=yes test --mpl --timeout=20 --durations=10
# - lcov --capture --directory . --output-file coverage.info # - lcov --capture --directory . --output-file coverage.info
# - lcov --output-file coverage.info --extract coverage.info $PWD/src/'*' $PWD/b_asic/'*' # - lcov --output-file coverage.info --extract coverage.info $PWD/src/'*' $PWD/b_asic/'*'
# - lcov --list coverage.info # - lcov --list coverage.info
......
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