Skip to content

Commit

Permalink
Look into OS/X failure on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Oct 8, 2024
1 parent e370e01 commit 096ac6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install Dependencies
run: |
cpanm -iqn --skip-satisfied File::Spec ExtUtils::MakeMaker Devel::Cover::Report::Codecov Test::Harness
cpanm -iqn --skip-satisfied Test::Script Test::Portability::Files Test::Taint Test::Carp Test::Compile Test::Pod::Coverage LWP::UserAgent
cpanm -iqn --skip-satisfied Test::Script Test::Portability::Files Test::Carp Test::Compile Test::Pod::Coverage LWP::UserAgent
cpanm -iqn --skip-satisfied --installdeps --notest .
# - name: Run Tests
# run: |
Expand All @@ -50,3 +50,4 @@ jobs:
shell: bash
env:
AUTHOR_TESTING: 1
AUTOMATED_TESTING: 1
10 changes: 5 additions & 5 deletions t/taint.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

use strict;
use warnings;

use Test::DescribeMe qw(author);
use Test::Most tests => 7;
use Test::Needs 'Test::Taint';
use Taint::Runtime qw(enable $TAINT taint_env taint_start);
Expand All @@ -15,12 +17,10 @@ BEGIN {
}

Test::Taint->import();
if($ENV{'AUTHOR_TESTING'}) {
taint_checking_ok();
} else {
ok(1);
}
taint_checking_ok();

require_ok('CGI::Info');
CGI::Info->import();

$ENV{'C_DOCUMENT_ROOT'} = $ENV{'HOME'};
delete $ENV{'DOCUMENT_ROOT'};
Expand Down

0 comments on commit 096ac6c

Please sign in to comment.