8000 Update Codecov config (#3507) · Rishit-coder/sentry-python@53897ff · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 53897ff

Browse files
authored
Update Codecov config (getsentry#3507)
The Codecov plugins somehow changing our coverage reports, which lead to incorrect coverage measurements. This change will disable all Codecov plugins so our uploaded coverage reports will not be altered. According to Codecov engineers, this has no downsides.
1 parent c635e3e commit 53897ff

12 files changed

+85
-1
lines changed

.github/workflows/test-integrations-ai.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,16 @@ jobs:
8282
with:
8383
token: ${{ secrets.CODECOV_TOKEN }}
8484
files: coverage.xml
85+
# make sure no plugins alter our coverage reports
86+
plugin: noop
87+
verbose: true
8588
- name: Upload test results to Codecov
8689
if: ${{ !cancelled() }}
8790
uses: codecov/test-results-action@v1
8891
with:
8992
token: ${{ secrets.CODECOV_TOKEN }}
9093
files: .junitxml
94+
verbose: true
9195
test-ai-pinned:
9296
name: AI (pinned)
9397
timeout-minutes: 30
@@ -150,12 +154,16 @@ jobs:
150154
with:
151155
token: ${{ secrets.CODECOV_TOKEN }}
152156
files: coverage.xml
157+
# make sure no plugins alter our coverage reports
158+
plugin: noop
159+
verbose: true
153160
- name: Upload test results to Codecov
154161
if: ${{ !cancelled() }}
155162
uses: codecov/test-results-action@v1
156163
with:
157164
token: ${{ secrets.CODECOV_TOKEN }}
158165
files: .junitxml
166+
verbose: true
159167
check_required_tests:
160168
name: All AI tests passed
161169
needs: test-ai-pinned

.github/workflows/test-integrations-aws-lambda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,16 @@ jobs:
101101
with:
102102
token: ${{ secrets.CODECOV_TOKEN }}
103103
files: coverage.xml
104+
# make sure no plugins alter our coverage reports
105+
plugin: noop
106+
verbose: true
104107
- name: Upload test results to Codecov
105108
if: ${{ !cancelled() }}
106109
uses: codecov/test-results-action@v1
107110
with:
108111
token: ${{ secrets.CODECOV_TOKEN }}
109112
files: .junitxml
113+
verbose: true
110114
check_required_tests:
111115
name: All AWS Lambda tests passed
112116
needs: test-aws_lambda-pinned

.github/workflows/test-integrations-cloud-computing.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,16 @@ jobs:
7878
with:
7979
token: ${{ secrets.CODECOV_TOKEN }}
8080
files: coverage.xml
81+
# make sure no plugins alter our coverage reports
82+
plugin: noop
83+
verbose: true
8184
- name: Upload test results to Codecov
8285
if: ${{ !cancelled() }}
8386
uses: codecov/test-results-action@v1
8487
with:
8588
token: ${{ secrets.CODECOV_TOKEN }}
8689
files: .junitxml
90+
verbose: true
8791
test-cloud_computing-pinned:
8892
name: Cloud Computing (pinned)
8993
timeout-minutes: 30
@@ -142,12 +146,16 @@ jobs:
142146
with:
143147
token: ${{ secrets.CODECOV_TOKEN }}
144148
files: coverage.xml
149+
# make sure no plugins alter our coverage reports
150+
plugin: noop
151+
verbose: true
145152
- name: Upload test results to Codecov
146153
if: ${{ !cancelled() }}
147154
uses: codecov/test-results-action@v1
148155
with:
149156
token: ${{ secrets.CODECOV_TOKEN }}
150157
files: .junitxml
158+
verbose: true
151159
check_required_tests:
152160
name: All Cloud Computing tests passed
153161
needs: test-cloud_computing-pinned

.github/workflows/test-integrations-common.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,16 @@ jobs:
6666
with:
6767
token: ${{ secrets.CODECOV_TOKEN }}
6868
files: coverage.xml
69+
# make sure no plugins alter our coverage reports
70+
plugin: noop
71+
verbose: true
6972
- name: Upload test results to Codecov
7073
if: ${{ !cancelled() }}
7174
uses: codecov/test-results-action@v1
7275
with:
7376
token: ${{ secrets.CODECOV_TOKEN }}
7477
files: .junitxml
78+
verbose: true
7579
check_required_tests:
7680
name: All Common tests passed
7781
needs: test-common-pinned

.github/workflows/test-integrations-data-processing.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,16 @@ jobs:
9696
with:
9797
token: ${{ secrets.CODECOV_TOKEN }}
9898
files: coverage.xml
99+
# make sure no plugins alter our coverage reports
100+
plugin: noop
101+
verbose: true
99102
- name: Upload test results to Codecov
100103
if: ${{ !cancelled() }}
101104
uses: codecov/test-results-action@v1
102105
with:
103106
token: ${{ secrets.CODECOV_TOKEN }}
104107
files: .junitxml
108+
verbose: true
105109
test-data_processing-pinned:
106110
name: Data Processing (pinned)
107111
timeout-minutes: 30
@@ -178,12 +182,16 @@ jobs:
178182
with:
179183
token: ${{ secrets.CODECOV_TOKEN }}
180184
files: coverage.xml
185+
# make sure no plugins alter our coverage reports
186+
plugin: noop
187+
verbose: true
181188
- name: Upload test results to Codecov
182189
if: ${{ !cancelled() }}
183190
uses: codecov/test-results-action@v1
184191
with:
185192
token: ${{ secrets.CODECOV_TOKEN }}
186193
files: .junitxml
194+
verbose: true
187195
check_required_tests:
188196
name: All Data Processing tests passed
189197
needs: test-data_processing-pinned

.github/workflows/test-integrations-databases.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,16 @@ jobs:
105105
with:
106106
token: ${{ secrets.CODECOV_TOKEN }}
107107
files: coverage.xml
108+
# make sure no plugins alter our coverage reports
109+
plugin: noop
110+
verbose: true
108111
- name: Upload test results to Codecov
109112
if: ${{ !cancelled() }}
110113
uses: codecov/test-results-action@v1
111114
with:
112115
token: ${{ secrets.CODECOV_TOKEN }}
113116
files: .junitxml
117+
verbose: true
114118
test-databases-pinned:
115119
name: Databases (pinned)
116120
timeout-minutes: 30
@@ -196,12 +200,16 @@ jobs:
196200
with:
197201
token: ${{ secrets.CODECOV_TOKEN }}
198202
files: coverage.xml
203+
# make sure no plugins alter our coverage reports
204+
plugin: noop
205+
verbose: true
199206
- name: Upload test results to Codecov
200207
if: ${{ !cancelled() }}
201208
uses: codecov/test-results-action@v1
202209
with:
203210
token: ${{ secrets.CODECOV_TOKEN }}
204211
files: .junitxml
212+
verbose: true
205213
check_required_tests:
206214
name: All Databases tests passed
207215
needs: test-databases-pinned

.github/workflows/test-integrations-graphql.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,16 @@ jobs:
7878
with:
7979
token: ${{ secrets.CODECOV_TOKEN }}
8080
files: coverage.xml
81+
# make sure no plugins alter our coverage reports
82+
plugin: noop
83+
verbose: true
8184
- name: Upload test results to Codecov
8285
if: ${{ !cancelled() }}
8386
uses: codecov/test-results-action@v1
8487
with:
8588
token: ${{ secrets.CODECOV_TOKEN }}
8689
files: .junitxml
90+
verbose: true
8791
test-graphql-pinned:
8892
name: GraphQL (pinned)
8993
timeout-minutes: 30
@@ -142,12 +146,16 @@ jobs:
142146
with:
143147
token: ${{ secrets.CODECOV_TOKEN }}
144148
files: coverage.xml
149+
# make sure no plugins alter our coverage reports
150+
plugin: noop
151+
verbose: true
145152
- name: Upload test results to Codecov
146153
if: ${{ !cancelled() }}
147154
uses: codecov/test-results-action@v1
148155
with:
149156
token: ${{ secrets.CODECOV_TOKEN }}
150157
files: .junitxml
158+
verbose: true
151159
check_required_tests:
152160
name: All GraphQL tests passed
153161
needs: test-graphql-pinned

.github/workflows/test-integrations-miscellaneous.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,16 @@ jobs:
8282
with:
8383
token: ${{ secrets.CODECOV_TOKEN }}
8484
files: coverage.xml
85+
# make sure no plugins alter our coverage reports
86+
plugin: noop
87+
verbose: true
8588
- name: Upload test results to Codecov
8689
if: ${{ !cancelled() }}
8790
uses: codecov/test-results-action@v1
8891
with:
8992
token: ${{ secrets.CODECOV_TOKEN }}
9093
files: .junitxml
94+
verbose: true
9195
test-miscellaneous-pinned:
9296
name: Miscellaneous (pinned)
9397
timeout-minutes: 30
@@ -150,12 +154,16 @@ jobs:
150154
with:
151155
token: ${{ secrets.CODECOV_TOKEN }}
152156
files: coverage.xml
157+
# make sure no plugins alter our coverage reports
158+
plugin: noop
159+
verbose: true
153160
- name: Upload test results to Codecov
154161
if: ${{ !cancelled() }}
155162
uses: codecov/test-results-action@v1
156163
with:
157164
token: ${{ secrets.CODECOV_TOKEN }}
158165
files: .junitxml
166+
verbose: true
159167
check_required_tests:
160168
name: All Miscellaneous tests passed
161169
needs: test-miscellaneous-pinned

.github/workflows/test-integrations-networking.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,16 @@ jobs:
7878
with:
7979
token: ${{ secrets.CODECOV_TOKEN }}
8080
files: coverage.xml
81+< 10000 /span>
# make sure no plugins alter our coverage reports
82+
plugin: noop
83+
verbose: true
8184
- name: Upload test results to Codecov
8285
if: ${{ !cancelled() }}
8386
uses: codecov/test-results-action@v1
8487
with:
8588
token: ${{ secrets.CODECOV_TOKEN }}
8689
files: .junitxml
90+
verbose: true
8791
test-networking-pinned:
8892
name: Networking (pinned)
8993
timeout-minutes: 30
@@ -142,12 +146,16 @@ jobs:
142146
with:
143147
token: ${{ secrets.CODECOV_TOKEN }}
144148
files: coverage.xml
149+
# make sure no plugins alter our coverage reports
150+
plugin: noop
151+
verbose: true
145152
- name: Upload test results to Codecov
146153
if: ${{ !cancelled() }}
147154
uses: codecov/test-results-action@v1
148155
with:
149156
token: ${{ secrets.CODECOV_TOKEN }}
150157
files: .junitxml
158+
verbose: true
151159
check_required_tests:
152160
name: All Networking tests passed
153161
needs: test-networking-pinned

.github/workflows/test-integrations-web-frameworks-1.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,16 @@ jobs:
9696
with:
9797
token: ${{ secrets.CODECOV_TOKEN }}
9898
files: coverage.xml
99+
# make sure no plugins alter our coverage reports
100+
plugin: noop
101+
verbose: true
99102
- name: Upload test results to Codecov
100103
if: ${{ !cancelled() }}
101104
uses: codecov/test-results-action@v1
102105
with:
103106
token: ${{ secrets.CODECOV_TOKEN }}
104107
files: .junitxml
108+
verbose: true
105109
test-web_frameworks_1-pinned:
106110
name: Web Frameworks 1 (pinned)
107111
timeout-minutes: 30
@@ -178,12 +182,16 @@ jobs:
178182
with:
179183
token: ${{ secrets.CODECOV_TOKEN }}
180184
files: coverage.xml
185+
# make sure no plugins alter our coverage reports
186+
plugin: noop
187+
verbose: true
181188
- name: Upload test results to Codecov
182189
if: ${{ !cancelled() }}
183190
uses: codecov/test-results-action@v1
184191
with:
185192
token: ${{ secrets.CODECOV_TOKEN }}
186193
files: .junitxml
194+
verbose: true
187195
check_required_tests:
188196
name: All Web Frameworks 1 tests passed
189197
needs: test-web_frameworks_1-pinned

.github/workflows/test-integrations-web-frameworks-2.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,16 @@ jobs:
102102
with:
103103
token: ${{ secrets.CODECOV_TOKEN }}
104104
files: coverage.xml
105+
# make sure no plugins alter our coverage reports
106+
plugin: noop
107+
verbose: true
105108
- name: Upload test results to Codecov
106109
if: ${{ !cancelled() }}
107110
uses: codecov/test-results-action@v1
108111
with:
109112
token: ${{ secrets.CODECOV_TOKEN }}
110113
files: .junitxml
114+
verbose: true
111115
test-web_frameworks_2-pinned:
112116
name: Web Frameworks 2 (pinned)
113117
timeout-minutes: 30
@@ -190,12 +194,16 @@ jobs:
190194
with:
191195
token: ${{ secrets.CODECOV_TOKEN }}
192196
files: coverage.xml
197+
# make sure no plugins alter our coverage reports
198+
plugin: noop
199+
verbose: true
193200
- name: Upload test results to Codecov
194201
if: ${{ !cancelled() }}
195202
uses: codecov/test-results-action@v1
196203
with:
197204
token: ${{ secrets.CODECOV_TOKEN }}
198205
files: .junitxml
206+
verbose: true
199207
check_required_tests:
200208
name: All Web Frameworks 2 tests passed
201209
needs: test-web_frameworks_2-pinned

scripts/split-tox-gh-actions/templates/test_group.jinja

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,14 @@
9696
with:
9797
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
9898
files: coverage.xml
99+
# make sure no plugins alter our coverage reports
100+
plugin: noop
101+
verbose: true
99102

100103
- name: Upload test results to Codecov
101104
if: {% raw %}${{ !cancelled() }}{% endraw %}
102105
uses: codecov/test-results-action@v1
103106
with:
104107
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
105-
files: .junitxml
108+
files: .junitxml
109+
verbose: true

0 commit comments

Comments
 (0)
0