Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit 61e03b2

Browse files
committed
chore: Re-remove test coverage source to make sonaredge codecov work
1 parent dbb015b commit 61e03b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ jobs:
9797
token: ${{ secrets.CODECOV_TOKEN }}
9898
- name: Fix coverage file for sonarcloud
9999
run: |
100-
sed -i "s/<source>\/home\/runner\/work\/drf-openapi-tester\//<source>/g" coverage.xml
100+
sed -i "s/<source>\/home\/runner\/work\/drf-openapi-tester\/drf-openapi-tester\//<source>/g" coverage.xml
101+
cat coverage.xml
101102
- uses: sonarsource/sonarcloud-github-action@master
102103
env:
103104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ good-names = "_,e,i"
104104
[tool.coverage.run]
105105
source = [
106106
"openapi_tester",
107-
"tests",
108107
]
109108
omit = [
110109
"manage.py",

0 commit comments

Comments
 (0)