Skip to content

Commit

Permalink
[FIX] exclude test folder from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hbrunn committed Jan 15, 2024
1 parent ec7e516 commit 609a146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Run tests
run: oca_run_tests
- name: Generate coverage.xml
run: coverage xml --include '*.py'
run: coverage xml --include '*.py' --omit '**/tests/*'
- uses: codecov/codecov-action@v3
with:
files: coverage.xml
Expand Down

0 comments on commit 609a146

Please sign in to comment.