Skip to content

Commit e6c7074

Browse files
log versionRequirement
1 parent f3a87cf commit e6c7074

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/versions.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ jest.setTimeout(500_000); //5 minutes
1212

1313
const arch = process.arch === 'x64' || (process.platform === 'win32' && process.arch === 'arm64') ? 'x64' : 'arm64';
1414

15-
for (const version of DOWNLOADABLE_MYSQL_VERSIONS.filter(v => satisfies(v, process.env.VERSION_REQUIREMENT || '>0.0.0'))) {
15+
const versionRequirement = process.env.VERSION_REQUIREMENT || '>0.0.0'
16+
console.log('Running versions test with versionRequirement:', versionRequirement)
17+
18+
for (const version of DOWNLOADABLE_MYSQL_VERSIONS.filter(v => satisfies(v, versionRequirement))) {
1619
try {
1720
getBinaryURL(version, arch)
1821
} catch (e) {

0 commit comments

Comments
 (0)