Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 79d6d52

Browse files
authored
Merge branch 'main' into tony/prometheus-metrics
2 parents 9ff1ba8 + f8ac094 commit 79d6d52

13 files changed

+335
-6833
lines changed

graphql_api/tests/test_bundle_analysis_measurements.py

Lines changed: 265 additions & 251 deletions
Large diffs are not rendered by default.

graphql_api/tests/test_bundle_analysis_measurements_legacy.py

Lines changed: 0 additions & 2701 deletions
This file was deleted.

graphql_api/tests/test_commit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,15 @@ def test_resolve_commit_without_parent(self):
214214

215215
def test_fetch_commit_coverage(self):
216216
ReportLevelTotalsFactory(report=self.report, coverage=12)
217-
query = query_commit % "totals { percentCovered } "
217+
query = query_commit % "coverageAnalytics { totals { percentCovered }} "
218218
variables = {
219219
"org": self.org.username,
220220
"repo": self.repo.name,
221221
"commit": self.commit.commitid,
222222
}
223223
data = self.gql_request(query, variables=variables)
224224
commit = data["owner"]["repository"]["commit"]
225-
assert commit["totals"]["percentCovered"] == 12
225+
assert commit["coverageAnalytics"]["totals"]["percentCovered"] == 12
226226

227227
def test_fetch_commit_build(self):
228228
session_one = UploadFactory(report=self.report, provider="circleci")

0 commit comments

Comments
 (0)