From f2188be471ffe89a1402dd1adf7d5942d8864d64 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 30 Jan 2021 23:15:09 +0100 Subject: [PATCH] Recognize GitHub Actions as a CI environment in the test This is necessary to activate the existing workarounds in the GUI tests. --- tests/test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test.cpp b/tests/test.cpp index b59347da91..e8a842da14 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -405,10 +405,11 @@ extern bool IsAutomaticTest() s_isAutomatic = username == wxASCII_STR("buildbot") || username.Matches(wxASCII_STR("sandbox*")); - // Also recognize Travis and AppVeyor CI environments. + // Also recognize various CI environments. if ( !s_isAutomatic ) { s_isAutomatic = wxGetEnv(wxASCII_STR("TRAVIS"), NULL) || + wxGetEnv(wxASCII_STR("GITHUB_ACTIONS"), NULL) || wxGetEnv(wxASCII_STR("APPVEYOR"), NULL); } }