Skip to content

Commit

Permalink
GitHub Actions: skip tests using Net::EmptyPort under CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Feb 6, 2024
1 parent e398c19 commit 5697dff
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion t/dates.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/exclusive.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/httpendpoint.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/https.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/httpserver.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/page.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
4 changes: 3 additions & 1 deletion t/prometheus.t
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 5697dff

Please sign in to comment.