Disable database upload in test mode

This commit is contained in:
Henry Mercer
2024-06-11 19:07:13 +01:00
parent b004bb45a8
commit 12243c759f
35 changed files with 12 additions and 63 deletions

View File

@@ -20,6 +20,11 @@ export async function uploadDatabases(
return;
}
if (util.isInTestMode()) {
logger.debug("In test mode. Skipping database upload.");
return;
}
// Do nothing when not running against github.com
if (
config.gitHubVersion.type !== util.GitHubVariant.DOTCOM &&