]> Dogcows Code - chaz/p5-File-KDBX-XS/commitdiff
fix unit test actions for macOS & Windows
authorCharles McGarvey <ccm@cpan.org>
Fri, 8 Apr 2022 21:26:49 +0000 (15:26 -0600)
committerCharles McGarvey <ccm@cpan.org>
Fri, 8 Apr 2022 22:20:13 +0000 (16:20 -0600)
.github/workflows/macos.yml
.github/workflows/windows.yml

index 28434bf8cefa71b04b8f47a60144ea03e3d5455f..036a07315a8c57a17fed5dfc33f955deafddbe01 100644 (file)
@@ -17,9 +17,15 @@ jobs:
         run: brew install perl
       - name: Print perl version
         run: perl -V
+      - name: Install cpanm
+        run: curl -sL https://cpanmin.us |perl - App::cpanminus
+      - name: Install dzil
+        run: cpanm -n Dist::Zilla
       - name: Checkout code
         uses: actions/checkout@v3
-      - name: Install dependencies
-        run: curl -sL https://git.io/cpm |perl - install -g --with-develop --show-build-log-on-failure
+      - name: Install author dependencies
+        run: dzil authordeps --missing |cpanm -n
+      - name: Install module dependencies
+        run: dzil listdeps --develop --missing |cpanm -n
       - name: Run tests
         run: dzil smoke --author --release
index 63e35f0a15358874e613507dea544778525df2c8..caa31f8864576d739fd56e7e969ca9c4fa0d76e9 100644 (file)
@@ -19,9 +19,13 @@ jobs:
           echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >>$GITHUB_PATH
       - name: Print perl version
         run: perl -V
+      - name: Install dzil
+        run: cpanm -n Dist::Zilla
       - name: Checkout code
         uses: actions/checkout@v3
-      - name: Install dependencies
-        run: curl -sL https://git.io/cpm |perl - install -g --with-develop --show-build-log-on-failure
+      - name: Install author dependencies
+        run: dzil authordeps --missing |cpanm -n
+      - name: Install module dependencies
+        run: dzil listdeps --develop --missing |cpanm -n
       - name: Run tests
         run: dzil smoke --author --release
This page took 0.027759 seconds and 4 git commands to generate.