Skip to content

Commit

Permalink
Fixing code coverage (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky committed Dec 12, 2022
1 parent d31c0ba commit b684180
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/actions/coverage/action.yml
Expand Up @@ -31,6 +31,10 @@ runs:
run: coverage combine
shell: bash

- name: Show coverage report
run: coverage report -m
shell: bash

- name: Prepare coverage report
run: coverage xml
shell: bash
Expand Down
16 changes: 11 additions & 5 deletions pyproject.toml
Expand Up @@ -192,9 +192,15 @@ force_grid_wrap = 2
max-line-length = 120
extend-ignore = "E203"

[tool.coverage]
source = 'src/'

[tool.coverage.run]
branch = true
relative_files = true
source_pkgs = ['neptune']
branch = false
relative_files = false

[tool.coverage.paths]
source = [
'src/neptune',
'/opt/hostedtoolcache/Python/*/x64/lib/python*/site-packages/neptune',
'/Users/runner/hostedtoolcache/Python/*/x64/lib/python*/site-packages/neptune',
'C:\hostedtoolcache\windows\Python\*\x64\Lib\site-packages\neptune'
]

0 comments on commit b684180

Please sign in to comment.