Skip to content

Commit 8b83003

Browse files
committed
Rework workflows
1 parent 7965be4 commit 8b83003

File tree

2 files changed

+44
-8
lines changed

2 files changed

+44
-8
lines changed

.github/workflows/linux.yml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,13 @@ jobs:
3131
- '5.20'
3232
# - '5.18' No dzil
3333
# - '5.16' No dzil
34+
# - '5.14' No dzil
3435
# - '5.10' No dzil
3536

3637
container:
3738
image: perldocker/perl-tester:${{ matrix.perl-version }}
39+
# https://hub.docker.com/r/perldocker/perl-tester
40+
# https://github.com/Perl/docker-perl-tester
3841

3942
steps:
4043
- id: checkout
@@ -48,12 +51,29 @@ jobs:
4851
# run: cpm install -g --no-test --show-build-log-on-failure --cpanfile cpanfile
4952
# - name: Makefile.PL
5053
# run: perl Makefile.PL
51-
- id: install-dzil-author-deps
54+
- id: list-dzil-authordeps-with-verbosity
55+
name: List Dist::Zilla Author Dependencies With Verbosity
56+
run: |
57+
dzil --verbose authordeps --cpanm-versions
58+
- id: install-dzil-authordeps
5259
name: Install Dist::Zilla Author Dependencies
53-
run: dzil authordeps --missing --versions | cpanm --verbose --force --notest || true
60+
run: |
61+
dzil --verbose authordeps --cpanm-versions \
62+
| cpanm --verbose --force --notest
63+
- id: list-deps-with-verbosity
64+
name: List Dependencies With Verbosity
65+
run: |
66+
dzil --verbose listdeps --requires --develop recommends --suggests --cpanm-version --omit-core ${{ matrix.perl-version }}
5467
- id: install-dzil-deps
5568
name: Install Dependencies
56-
run: dzil listdeps --missing --develop --requires --recommends --suggests --version | cpanm --verbose --force --notest || true
69+
run: |
70+
dzil listdeps --requires --develop recommends --suggests --cpanm-version --omit-core ${{ matrix.perl-version }} \
71+
| cpanm --verbose --force --notest || true
72+
- id: build-project-and-explore
73+
name: Build Project And Explore
74+
run: |
75+
dzil --verbose build \
76+
&& tree -af -I '\.git'
5777
- id: run-test-suite
5878
name: Run Tests
59-
run: dzil test --all --test-verbose
79+
run: dzil --verbose test --all --test-verbose

.github/workflows/windows.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,31 @@ jobs:
9696
# # - id:
9797
# name: Makefile.PL
9898
# # run: perl Makefile.PL
99+
- id: list-dzil-authordeps-with-verbosity
100+
name: List Dist::Zilla Author Dependencies With Verbosity
101+
run: |
102+
dzil --verbose authordeps --cpanm-versions
99103
- id: install-dzil-authordeps
100104
name: Install Dist::Zilla Author Dependencies
101105
run: |
102-
dzil authordeps --missing --versions | cpanm --verbose --force --notest || true
103-
- id: install-deps
106+
dzil authordeps --cpanm-versions \
107+
| cpanm --verbose --force --notest || true
108+
- id: list-deps-with-verbosity
109+
name: List Dependencies With Verbosity
110+
run: |
111+
dzil --verbose listdeps --develop --requires --recommends --suggests --version
112+
dzil listdeps --requires --develop recommends --suggests --cpanm-version --omit-core
113+
- id: install-dzil-deps
104114
name: Install Dependencies
105115
run: |
106-
dzil listdeps --missing --develop --requires --recommends --suggests --version | cpanm --verbose --force --notest || true
116+
dzil listdeps --requires --develop recommends --suggests --cpanm-version --omit-core ${{ matrix.perl-version }} \
117+
| cpanm --verbose --force --notest || true
118+
- id: build-project-and-explore
119+
name: Build Project And Explore
120+
run: |
121+
dzil --verbose build \
122+
&& Get-ChildItem -Path -Recurse -Force -Exclude .git
107123
- id: run-tests
108124
name: Run Tests
109125
run: |
110-
dzil test --all --test-verbose
126+
dzil --verbose test --all --test-verbose

0 commit comments

Comments
 (0)