Skip to content

Commit a200e5b

Browse files
committed
.github/workflows/build-image.yml: re-add install tests
Add back the cpanm test from a2d4582 as well as add a new test for cpm.
1 parent 10ac99b commit a200e5b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build-image.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,19 @@ jobs:
4848
img="perl:${dir//,/-}"
4949
docker image inspect --format '{{.Created}}' "$img"
5050
docker image inspect --format '{{.Metadata.LastTagTime}}' "$img"
51-
- name: Run tests
51+
- name: Run tests from docker-library/official-images
5252
run: |
5353
dir='${{ matrix.directory }}'
5454
img="perl:${dir//,/-}"
5555
./official-images/test/run.sh "$img"
5656
docker run "$img" perl -MHTTP::Tiny -E 'if (HTTP::Tiny->new->get("https://github.com")->{status} == 200) { exit 0 } exit 1'
57+
- name: Run cpanm install test
58+
run: |
59+
dir='${{ matrix.directory }}'
60+
img="perl:${dir//,/-}"
61+
docker run "$img" cpanm -v Mojolicious
62+
- name: Run cpm install test
63+
run: |
64+
dir='${{ matrix.directory }}'
65+
img="perl:${dir//,/-}"
66+
docker run "$img" cpm install -v Mojolicious

0 commit comments

Comments
 (0)