From 3e07c354707f39dbc26cecbbc8cdf9c70879e70c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 4 Dec 2017 15:56:44 -0500 Subject: no bug - avoid running compile tests in CI (#284) * skip tests in CI * fix --- t/001compile.t | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 't') diff --git a/t/001compile.t b/t/001compile.t index 30b83da1d..e81162056 100644 --- a/t/001compile.t +++ b/t/001compile.t @@ -17,10 +17,14 @@ use warnings; use lib qw(. lib local/lib/perl5 t); use Config; use Support::Files; -use Test::More tests => scalar(@Support::Files::testitems) - + scalar(@Support::Files::test_files); +use Test::More; +BEGIN { + if ($ENV{CI}) { + plan skip_all => 'Not running compile tests in CI.'; + exit; + } + plan tests => @Support::Files::testitems + @Support::Files::test_files; -BEGIN { use_ok('Bugzilla::Constants'); use_ok('Bugzilla::Install::Requirements'); use_ok('Bugzilla'); -- cgit v1.2.3-24-g4f1b