Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
TopFarm2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TOPFARM
TopFarm2
Commits
63fb5328
Commit
63fb5328
authored
6 years ago
by
Mads M. Pedersen
Browse files
Options
Downloads
Patches
Plain Diff
coverage fixed (cov set to correct directory). Colonel omitted
parent
3b1ef42e
No related branches found
No related tags found
1 merge request
!94
Handle disabled mpi
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.coveragerc
+3
-1
3 additions, 1 deletion
.coveragerc
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
tests/test_try_me.py
+2
-0
2 additions, 0 deletions
tests/test_try_me.py
with
6 additions
and
2 deletions
.coveragerc
+
3
−
1
View file @
63fb5328
[run]
[run]
omit = */Colonel/*
omit =
\ No newline at end of file
*/Colonel/*
*/colonel/*
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
1
View file @
63fb5328
...
@@ -22,7 +22,7 @@ test_topfarm_windows: # name the job what we like
...
@@ -22,7 +22,7 @@ test_topfarm_windows: # name the job what we like
test
test
script
:
# runs on windows machine due to tag below
script
:
# runs on windows machine due to tag below
-
cd tests
-
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
tags
:
# tag for shared runner on windows machine
-
CPAV_old_PC
-
CPAV_old_PC
...
...
This diff is collapsed.
Click to expand it.
tests/test_try_me.py
+
2
−
0
View file @
63fb5328
...
@@ -14,6 +14,8 @@ def get_try_me_modules():
...
@@ -14,6 +14,8 @@ def get_try_me_modules():
for
_
,
modname
,
_
in
pkgutil
.
walk_packages
(
package
.
__path__
,
package
.
__name__
+
'
.
'
):
for
_
,
modname
,
_
in
pkgutil
.
walk_packages
(
package
.
__path__
,
package
.
__name__
+
'
.
'
):
with
warnings
.
catch_warnings
():
with
warnings
.
catch_warnings
():
warnings
.
simplefilter
(
"
ignore
"
)
warnings
.
simplefilter
(
"
ignore
"
)
if
'
olonel
'
in
modname
:
continue
m
=
importlib
.
import_module
(
modname
)
m
=
importlib
.
import_module
(
modname
)
if
'
try_me
'
in
dir
(
m
):
if
'
try_me
'
in
dir
(
m
):
modules
.
append
(
m
)
modules
.
append
(
m
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment