Skip to content

Commit

Permalink
Update linux.yml
Browse files Browse the repository at this point in the history
add coveralls
  • Loading branch information
peczenyj authored Dec 6, 2023
1 parent b03635a commit 3345740
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,28 @@ jobs:
perl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
perl-version:
- '5.8'
- '5.12'
- '5.38'
container:
include:
- perl-version: '5.38'
coverage: true
container:
image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Install Dependencies
run: |
curl -sL https://cpanmin.us/ | perl - -nq --with-develop --installdeps .
- name: Run Tests
run: prove -lr t
- name: Run tests (with coverage)
if: ${{ matrix.coverage }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cpanm -n Devel::Cover::Report::Coveralls
cover -test -report Coveralls

0 comments on commit 3345740

Please sign in to comment.