Skip to content

Commit

Permalink
ci: skip reporting about tests that use canary only features when tes…
Browse files Browse the repository at this point in the history
…ting stable
  • Loading branch information
pieh committed Oct 24, 2024
1 parent 21bb071 commit 1f5c7f7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/deno/junit2json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,13 @@ function junitToJson(xmlData: { testsuites: JUnitTestSuites }): Array<TestSuite>
if (skippedTestsForFile?.some(({ name }) => name === testCase['@name'])) {
continue
}

// skip reporting on tests that even fail to deploy because they rely on experiments not available
// in currently tested version
if (testCase.failure?.includes('CanaryOnlyError')) {
continue
}

const status = testCase.failure ? 'failed' : 'passed'
const test: TestCase = {
name: testCase['@name'],
Expand Down

0 comments on commit 1f5c7f7

Please sign in to comment.