Skip to content

Commit

Permalink
GitHub Actions: experiment with reusable multiperl-test
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jun 9, 2024
1 parent dcb0b2a commit 925a4d7
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/multiperl-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,5 @@ on:
pull_request: ~

jobs:
build-tarball:
runs-on: ubuntu-latest
outputs:
perl-versions: ${{ steps.build-archive.outputs.perl-versions }}
steps:
- name: Build archive
id: build-archive
uses: rjbs/dzil-build@v0

multiperl-test:
needs: build-tarball
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
perl-version: ${{ fromJson(needs.build-tarball.outputs.perl-versions) }}

container:
image: perldocker/perl-tester:${{ matrix.perl-version }}

steps:
- name: Test distribution
uses: rjbs/test-perl-dist@v0
build-and-test:
uses: rjbs/dzil-actions/.github/workflows/multiperl-test-matrix.yaml@main

0 comments on commit 925a4d7

Please sign in to comment.