From e0325d915648ce9e8cdc99a047aa7dc4d87ef4c8 Mon Sep 17 00:00:00 2001 From: Nigel Horne Date: Thu, 26 Sep 2024 08:33:24 -0400 Subject: [PATCH] Test workaround for https://github.com/codecov/codecov-action/issues/1274 --- .github/workflows/codecov.yml | 3 +++ t/vars.t | 9 +++------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 48e0cc2..5087ec9 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -19,6 +19,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: Install Dependencies run: | cpanm --quiet --notest --installdeps . diff --git a/t/vars.t b/t/vars.t index 16fa4e6..46622a5 100644 --- a/t/vars.t +++ b/t/vars.t @@ -3,12 +3,9 @@ use strict; use warnings; +use Test::DescribeMe qw(author); use Test::Most; use Test::Needs 'Test::Vars'; -if($ENV{'AUTHOR_TESTING'}) { - Test::Vars->import(); - all_vars_ok(ignore_vars => { '$self' => 0 }); -} else { - plan(skip_all => 'Author tests not required for installation'); -} +Test::Vars->import(); +all_vars_ok(ignore_vars => { '$self' => 0 });