mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 10:35:41 -04:00
Merge branch 'master' into test-pr-run
This commit is contained in:
commit
007950b274
2 changed files with 15 additions and 4 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -1,6 +1,12 @@
|
|||
name: CI
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
perl-job:
|
||||
|
@ -22,10 +28,14 @@ jobs:
|
|||
- name: Install libraries and cpm
|
||||
run: |
|
||||
apt update && apt -y install libprotobuf-dev libprotoc-dev
|
||||
cpanm install App::cpm
|
||||
cpanm local::lib
|
||||
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
|
||||
cpanm --mirror http://cpanproxy/ --mirror-only --notest App::cpm
|
||||
- name: Install depedencies
|
||||
run: |
|
||||
cpm install -v --resolver 02packages,http://cpanproxy/ --configure-timeout 180 --build-timeout 600 --cpanfile=./cpanfile
|
||||
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
|
||||
cpm install -g -v --no-test --resolver 02packages,http://cpanproxy/ --configure-timeout 180 --build-timeout 600 --cpanfile=./cpanfile
|
||||
- name: Run tests
|
||||
run: |
|
||||
bin/run-tests
|
||||
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
|
||||
prove
|
||||
|
|
1
cpanfile
1
cpanfile
|
@ -79,3 +79,4 @@ requires "WWW::Mechanize";
|
|||
requires "WWW::Shorten";
|
||||
requires "WWW::Shorten::TinyURL";
|
||||
requires "XML::RSS::Parser";
|
||||
requires "Test::Differences";
|
||||
|
|
Loading…
Add table
Reference in a new issue