diff --git a/t/dates.t b/t/dates.t index ee5fd70d..f40f514c 100644 --- a/t/dates.t +++ b/t/dates.t @@ -7,7 +7,9 @@ use experimental qw( signatures ); use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/exclusive.t b/t/exclusive.t index 40d8eed8..649a5cb0 100644 --- a/t/exclusive.t +++ b/t/exclusive.t @@ -4,7 +4,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/httpendpoint.t b/t/httpendpoint.t index 68488278..e59dc985 100644 --- a/t/httpendpoint.t +++ b/t/httpendpoint.t @@ -5,7 +5,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/https.t b/t/https.t index 984a7aaa..d6888c84 100644 --- a/t/https.t +++ b/t/https.t @@ -5,7 +5,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/httpserver.t b/t/httpserver.t index b5d4e987..b006e310 100644 --- a/t/httpserver.t +++ b/t/httpserver.t @@ -5,7 +5,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/page.t b/t/page.t index 85b17e82..7baac8ad 100644 --- a/t/page.t +++ b/t/page.t @@ -4,7 +4,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger'; diff --git a/t/prometheus.t b/t/prometheus.t index 59641140..d6e7038e 100644 --- a/t/prometheus.t +++ b/t/prometheus.t @@ -5,7 +5,9 @@ use warnings; use lib 'lib'; -use Test::More; +use Test::More $ENV{GITHUB_ACTIONS} + ? (skip_all => "fails under GitHub Actions") + : (); use Synergy::Logger::Test '$Logger';