-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (29 loc) · 884 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
name: windows
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
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: perl -V
run: perl -V
- name: Install Dependencies
run: |
curl -L https://cpanmin.us | perl - --installdeps .
curl -L https://cpanmin.us | perl - -n TAP::Formatter::GitHubActions
- name: Run Tests
run: prove --merge --formatter TAP::Formatter::GitHubActions -l t