Skip to content

Commit 8a259ae

Browse files
committed
build-image.yml: add test for cpanm --no-lwp by default
1 parent d78befa commit 8a259ae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build-image.yml

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ jobs:
6767
docker run "$img" cpanm -v Net::[email protected]_02
6868
fi
6969
docker run "$img" cpanm -v Mojolicious
70+
- name: Run cpanm no-lwp by default test
71+
run: |
72+
dir='${{ matrix.directory }}'
73+
img="perl:${dir//,/-}"
74+
if [[ "$dir" != *"slim"* ]]; then
75+
docker run "$img" bash -c "cpanm -v -n LWP && cpanm -v -n local::lib"
76+
fi
7077
- name: Run cpm install test
7178
run: |
7279
dir='${{ matrix.directory }}'

0 commit comments

Comments
 (0)