Skip to content

Commit 56f47e2

Browse files
committed
Standardise CPAN Actions
1 parent 15e1ed6 commit 56f47e2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/perltest.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: CI
42

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
73
on:
84
push:
95
branches: [ master ]
106
pull_request:
117
branches: [ master ]
128
workflow_dispatch:
139

14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1510
jobs:
16-
build:
11+
test:
1712
runs-on: ${{ matrix.os }}
1813
strategy:
1914
matrix:
@@ -48,9 +43,17 @@ jobs:
4843
name: Test coverage
4944
steps:
5045
- uses: actions/checkout@v4
46+
- name: Install packages
47+
run: sudo apt-get update && sudo apt install libexpat1-dev make
5148
- name: Install modules
5249
run: cpanm -n --installdeps .
5350
- name: Coverage
5451
env:
5552
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5653
run: cover -test -report Coveralls
54+
55+
perlcritic:
56+
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-perlcritic.yml@main
57+
58+
complexity:
59+
uses: PerlToolsTeam/github_workflows/.github/workflows/cpan-complexity.yml@main

0 commit comments

Comments
 (0)