-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 937 Bytes
/
testing.yml
File metadata and controls
35 lines (32 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Testing
on:
push:
branches:
- issue-*
- milestone-*
- project-*
jobs:
Perl-0000:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Git User
run: git config --global user.name "Al Newkirk"
- name: Setup Git Email
run: git config --global user.email "awncorp@cpan.org"
- name: Setup GitHub User
run: git config --global github.user ${{ secrets.GithubUser }}
- name: Setup GitHub Token
run: git config --global github.user ${{ secrets.GithubToken }}
- name: Install CPANM
run: sudo apt install -y cpanminus
- name: Install Perl::Critic
run: sudo cpanm -qn Perl::Critic
- name: Install Project Dependencies
run: sudo cpanm -qn --reinstall --installdeps .
- name: Critiquing Project
run: perlcritic lib t
- name: Testing Project
run: prove -Ilib -r t
env:
HARNESS_OPTIONS: j9