Skip to content
Snippets Groups Projects
Commit 980fd754 authored by Mikkel Friis-Møller's avatar Mikkel Friis-Møller
Browse files

Merge branch 'check_coverage' into 'master'

coverage fixed (cov set to correct directory). Colonel omitted

See merge request !31
parents 5c55eab5 afc2bab5
No related branches found
No related tags found
1 merge request!31coverage fixed (cov set to correct directory). Colonel omitted
Pipeline #
[run]
omit = */Colonel/*
\ No newline at end of file
omit =
*/Colonel/*
*/colonel/*
\ No newline at end of file
......@@ -22,7 +22,7 @@ test_topfarm_windows: # name the job what we like
test
script: # runs on windows machine due to tag below
- cd tests
- c:/Anaconda3/envs/pyTopfarm/python.exe -m pytest --cov-report term-missing:skip-covered --cov=topfarm
- c:/Anaconda3/envs/pyTopfarm/python.exe -m pytest --cov-report term-missing:skip-covered --cov=../topfarm --cov-config ../.coveragerc
tags: # tag for shared runner on windows machine
- CPAV_old_PC
......
......@@ -14,6 +14,8 @@ def get_try_me_modules():
for _, modname, _ in pkgutil.walk_packages(package.__path__, package.__name__ + '.'):
with warnings.catch_warnings():
warnings.simplefilter("ignore")
if 'olonel' in modname:
continue
m = importlib.import_module(modname)
if 'try_me' in dir(m):
modules.append(m)
......
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