]> Dogcows Code - chaz/p5-File-KDBX/blob - .github/workflows/windows.yml
Add GitHub actions for testing
[chaz/p5-File-KDBX] / .github / workflows / windows.yml
1 name: Windows
2
3 on:
4 push:
5 branches: ["*"]
6 pull_request:
7 branches: ["*"]
8
9 jobs:
10 unit-tests:
11 name: "Test perl on Windows"
12
13 runs-on: windows-latest
14
15 steps:
16 - name: Install perl
17 run: |
18 choco install strawberryperl
19 echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >>$GITHUB_PATH
20 - name: Print perl version
21 run: perl -V
22 - name: Install dzil
23 run: cpanm -n Dist::Zilla
24 - name: Configure git
25 run: git config --global core.autocrlf input
26 - name: Checkout code
27 uses: actions/checkout@v3
28 - name: Install author dependencies
29 run: dzil authordeps --missing |cpanm -n
30 - name: Install module dependencies
31 run: dzil listdeps --develop --missing |cpanm -n
32 - name: Run tests
33 run: dzil smoke --author --release
This page took 0.030032 seconds and 4 git commands to generate.