-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (32 loc) · 964 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: windows
on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]
jobs:
perl:
runs-on: windows-latest
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v3
- name: Set up Perl
run: |
choco install strawberryperl
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Add testsuite worktree
run: |
git fetch --depth=1 origin refs/heads/test-suite
git branch test-suite --track origin/test-suite
git worktree add test-suite test-suite
- name: perl -V
run: perl -V
- name: Install deps
run: >
cpanm --quiet --notest
Module::Load Test::Deep Test::Warn Test::More JSON::PP boolean
- name: Run Tests
run: prove -lr t