forked from openSUSE/Mojo-IOLoop-ReadWriteProcess
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (46 loc) · 1.07 KB
/
ci-linux.yaml
File metadata and controls
46 lines (46 loc) · 1.07 KB
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
36
37
38
39
40
41
42
43
44
45
46
name: linux
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
perl:
- '5.16'
- '5.18'
- '5.20'
- '5.22'
- '5.24'
- '5.26'
- '5.28'
- '5.30'
name: 🐪 Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: perl -V
run: perl -V
- name: Set up perl
run: |
cpanm --with-develop --installdeps .
perl Build.PL
./Build build
- name: Run tests
run: |
TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
- name: Upload coverage to ☂️ Codecov
uses: codecov/codecov-action@v2
if: matrix.perl == '5.30'
with:
file: cover_db/codecov.json
fail_ci_if_error: true
verbose: true