Skip to content

Commit

Permalink
👷🏻 ci: test pipeline when creating the coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
adriamontoto committed Aug 8, 2024
1 parent 4189938 commit 4012833
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,19 @@ jobs:
ls -la coverage
coverage combine coverage/.coverage_*
- name: Normalize paths
run: |
python -c "
import os
import pathlib
for root, dirs, files in os.walk('coverage'):
for file in files:
if file.endswith('.py'):
path = pathlib.Path(root) / file
normalized_path = path.resolve()
print(f'Normalized path: {normalized_path}')
"
- name: 📊 Generate coverage report
run: |
coverage report
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ source = ['developing_tools']
show_missing = true
skip_covered = true

[tool.coverage.paths]
source = ['developing_tools']


[tool.ruff]
fix = true
Expand Down

0 comments on commit 4012833

Please sign in to comment.