-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (28 loc) · 920 Bytes
/
main.yml
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: CI
on: push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-latest']
perl: [ '5.30' ]
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up GitHub Action
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- name: Install core dependencies
run: sudo apt install -y build-essential lib32z1 git ncbi-blast+ curl
- name: Get Perl version
run: perl -V
- name: Install Perl deps for Codecov
run: cpanm --quiet --notest App::cpm Module::Build Devel::Cover Devel::Cover::Report::Codecov
- name: Install Transposome deps
run: cpm install -g
- name: Build and test Transposome
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: perl Makefile.PL && make && cover -test -report codecov