Skip to content

Commit

Permalink
fix swift
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed Aug 26, 2024
1 parent 170220b commit 3530beb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/ci/githubActions/createMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ async function createClientMatrix(baseBranch: string): Promise<void> {
const testsRootFolder = `tests/output/${language}`;
const testsOutputBase = `${testsRootFolder}/${getTestOutputFolder(language)}`;
// We delete tests to ensure the CI only run tests against what changed.
const testsToDelete = `${testsOutputBase}/client ${testsOutputBase}/requests ${testsOutputBase}/e2e ${testsOutputBase}/benchmark`;
let testsToDelete = `${testsOutputBase}/client ${testsOutputBase}/requests ${testsOutputBase}/e2e`;
if (language !== 'swift') {
// Swift requires the benchmark folder to have files in it
testsToDelete += ` ${testsOutputBase}/benchmark`;
}

// We only store tests of clients that ran during this job, the rest stay as is
let testsToStore = matrix[language].toRun
Expand Down

0 comments on commit 3530beb

Please sign in to comment.