Skip to content

Commit

Permalink
Merge pull request #907 from AlexVCaron/fix/simple_pipe_fix
Browse files Browse the repository at this point in the history
[WIP] Fix coverage report paths
  • Loading branch information
arnaudbore authored Feb 16, 2024
2 parents 89ca33f + 543d1c2 commit 065a43a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[run]
branch = True
concurrency = multiprocessing
data_file = .test_reports/.coverage
relative_files = True
source_pkgs =
data_file = .coverage
source_pkgs =
scilpy
scripts
relative_files = True
omit =
scripts/tests/*.py
scilpy/tests/**/*.py
Expand All @@ -16,6 +16,11 @@ omit =

[report]
skip_empty = True
skip_covered = True

[html]
title = Scilpy Coverage Report
directory = .test_reports/coverage.html

[xml]
output = .test_reports/coverage.xml
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ jobs:
flags: unittests
name: scilpy-unittests-${{ github.run_id }}
verbose: true
directory: .test_reports/
fail_ci_if_error: true
plugin: pycoverage

Expand Down
7 changes: 3 additions & 4 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ junit_logging = out-err

addopts =
--html=.test_reports/pytest.html
--cov-report=html:.test_reports/coverage.html
--junit-xml=.test_reports/junit.xml
--cov-report=xml:.test_reports/coverage.xml
--cov=scilpy/
--cov=scripts/
--cov
--cov-report html
--cov-report xml

0 comments on commit 065a43a

Please sign in to comment.