Skip to content

Commit 89f26c9

Browse files
committed
Add WINDOWS_SKIP_COVERAGE to turn off coverage when Devel::Coverage can't even
1 parent 9fb8789 commit 89f26c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

perl-module-windows.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# brian's standard GitHub Actions Windows config for Perl 5 modules
2-
# version 20240130.001
2+
# version 20240524.001
33
# https://github.com/briandfoy/github_workflows
44
# https://github.com/features/actions
55
# This file is licensed under the Artistic License 2.0
@@ -98,8 +98,10 @@ jobs:
9898
perl Makefile.PL
9999
make disttest
100100
make clean
101-
# And, coverage reports
101+
# And, coverage reports. Windows Devel::Coverage can't handle threads,
102+
# so set the env var WINDOWS_SKIP_COVERAGE to skip this part.
102103
- name: Run coverage tests
104+
if: env.WINDOWS_SKIP_COVERAGE != 0
103105
env:
104106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
105107
run: |

0 commit comments

Comments
 (0)