Skip to content

Commit

Permalink
chore: ensure CI jobs include tests for all the values of preferQuery…
Browse files Browse the repository at this point in the history
…Mode
  • Loading branch information
vlsi committed Feb 22, 2024
1 parent 2fada9e commit 81844e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,22 @@ matrix.generateRow({os: 'ubuntu-latest'});
if (process.env.GITHUB_REPOSITORY === 'pgjdbc/pgjdbc') {
matrix.generateRow({os: 'self-hosted'});
}
// Ensure we test all query_mode values
for (let query_mode of matrix.axisByName.query_mode.values) {
matrix.generateRow({query_mode: query_mode});
}
for (let gss of matrix.axisByName.gss.values) {
matrix.generateRow({gss: gss});
}
for (let xa of matrix.axisByName.xa.values) {
matrix.generateRow({xa: xa});
}
for (let ssl of matrix.axisByName.ssl.values) {
matrix.generateRow({ssl: ssl});
}
for (let replication of matrix.axisByName.replication.values) {
matrix.generateRow({replication: replication});
}
const include = matrix.generateRows(process.env.MATRIX_JOBS || 5);
if (include.length === 0) {
throw new Error('Matrix list is empty');
Expand Down

0 comments on commit 81844e6

Please sign in to comment.