Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils-sfg
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils-sfg
Commits
633f281b
Commit
633f281b
authored
6 months ago
by
Frederik Hennig
Browse files
Options
Downloads
Patches
Plain Diff
fix coverage data collection: use pytest plugin to collect from subprocesses
parent
599bb5b3
No related branches found
No related tags found
No related merge requests found
Pipeline
#70502
passed
6 months ago
Stage: Code Quality
Stage: Tests
Stage: Documentation
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-2
1 addition, 2 deletions
.gitlab-ci.yml
pytest.ini
+1
-1
1 addition, 1 deletion
pytest.ini
with
2 additions
and
3 deletions
.gitlab-ci.yml
+
1
−
2
View file @
633f281b
...
...
@@ -39,8 +39,7 @@ testsuite:
-
pip install "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev"
-
pip install -e .
script
:
-
coverage run -m pytest -v
-
coverage report
-
pytest -v
-
coverage html
-
coverage xml
coverage
:
'
/TOTAL.*\s+(\d+%)$/'
...
...
This diff is collapsed.
Click to expand it.
pytest.ini
+
1
−
1
View file @
633f281b
...
...
@@ -3,6 +3,6 @@ testpaths = src/pystencilssfg tests/
python_files
=
"test_*.py"
# Need to ignore the generator scripts, otherwise they would be executed
# during test collection
addopts
=
--doctest-modules --ignore=tests/generator_scripts/scripts
addopts
=
--doctest-modules --ignore=tests/generator_scripts/scripts
--cov=src/pystencilssfg --cov-report=term
doctest_optionflags
=
NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
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