feat(CI): prevent PRs that cause DB errors to get on master (#1407)

This commit is contained in:
Francesco Borzì
2019-02-06 23:55:23 +01:00
committed by GitHub
parent 90e559ad8a
commit 7b61731958
6 changed files with 63 additions and 11 deletions

View File

@@ -65,6 +65,11 @@ extern int main(int argc, char** argv)
int c = 1;
while (c < argc)
{
if (strcmp(argv[c], "--dry-run") == 0)
{
sConfigMgr->setDryRun(true);
}
if (!strcmp(argv[c], "-c"))
{
if (++c >= argc)