CI: temporary disable coverage report for regression tests (#6798)

## Problem

The merging coverage data step recently started to be too flaky.
This failure blocks staging deployment and along with the flakiness of
regression tests might require 4-5-6 manual restarts of a CI job.

Refs:
- https://github.com/neondatabase/neon/issues/4540
- https://github.com/neondatabase/neon/issues/6485
- https://neondb.slack.com/archives/C059ZC138NR/p1704131143740669

## Summary of changes
- Disable code coverage report for functional tests
This commit is contained in:
Alexander Bayandin
2024-02-19 11:07:27 +00:00
committed by GitHub
parent 5667372c61
commit 4d2bf55e6c
2 changed files with 7 additions and 3 deletions

View File

@@ -188,7 +188,7 @@ const reportSummary = async (params) => {
}
const parseCoverageSummary = async ({ summaryJsonUrl, coverageUrl, fetch }) => {
let summary = `\n### Code coverage ([full report](${coverageUrl}))\n`
let summary = `\n### Code coverage* ([full report](${coverageUrl}))\n`
const coverage = await (await fetch(summaryJsonUrl)).json()
for (const covType of Object.keys(coverage).sort()) {
@@ -198,7 +198,7 @@ const parseCoverageSummary = async ({ summaryJsonUrl, coverageUrl, fetch }) => {
summary += `- \`${covType}s\`: \`${coverage[covType]["_summary"]}\`\n`
}
summary += "\n\\* collected from Rust tests only\n"
summary += `\n___\n`
return summary