File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 62
62
- name : Install build dependencies
63
63
run : cpanm --local-lib ${GITHUB_WORKSPACE}/local Dist::Zilla Perl::Critic Perl::Tidy
64
64
- name : Install coverage dependencies
65
+ if : ${{ github.event_name != 'schedule' }}
65
66
run : cpanm --local-lib ${GITHUB_WORKSPACE}/local Devel::Cover::Report::Coveralls Pod::Coverage::CountParents
66
67
- name : Configure Dist::Zilla
67
68
run : |
@@ -82,11 +83,18 @@ jobs:
82
83
run : |
83
84
cd build
84
85
prove --timer --lib --recurse --jobs $(nproc) --shuffle xt
85
- - name : Run tests
86
+ - name : Run tests with coverage
87
+ if : ${{ github.event_name != 'schedule' }}
86
88
run : |
87
89
cd build
88
90
HARNESS_PERL_SWITCHES=-MDevel::Cover=+ignore,^t/ prove --timer --lib --recurse --jobs $(nproc) --shuffle t
91
+ - name : Run tests without coverage
92
+ if : ${{ github.event_name == 'schedule' }}
93
+ run : |
94
+ cd build
95
+ prove --timer --lib --recurse --jobs $(nproc) --shuffle t
89
96
- name : Report coverage info to Coveralls
97
+ if : ${{ github.event_name != 'schedule' }}
90
98
run : |
91
99
cd build
92
100
cover -report coveralls
You can’t perform that action at this time.
0 commit comments