11# brian's standard GitHub Actions Windows config for Perl 5 modules
2- # version 20240731 .001
2+ # version 20240824 .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
88# in your repo settings. Or not. It still works if it isn't defined.
99# In that environment, add whatever environment variables or secrets
1010# that you want.
11+ ---
1112name : windows
1213
1314# https://github.com/actions/checkout/issues/1590
1617
1718# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-concurrency
1819concurrency :
19- group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
20- cancel-in-progress : true
20+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref || github.run_id }}
21+ cancel-in-progress : true
2122
2223on :
2324 push :
@@ -54,10 +55,10 @@ jobs:
5455 runs-on : ${{ matrix.os }}
5556 # store any secrets in an environment named "testing"
5657 strategy :
57- matrix :
58- os :
59- - windows-2019
60- - windows-2022
58+ matrix :
59+ os :
60+ - windows-2019
61+ - windows-2022
6162 steps :
6263 - run : git config --global core.autocrlf false
6364 - uses : actions/checkout@v3
9394# stuff in parallel.
9495 - name : Run tests in parallel
9596 env :
96- HARNESS_OPTIONS : j10
97+ HARNESS_OPTIONS : j10
9798 run : |
9899 perl Makefile.PL
99100 make test
@@ -112,7 +113,7 @@ jobs:
112113 - name : Run coverage tests
113114 if : env.WINDOWS_SKIP_COVERAGE != 0
114115 env :
115- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
116117 run : |
117118 cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
118119 perl Makefile.PL
0 commit comments