1
0
Fork 0
mirror of https://github.com/perlbot/perlbuut synced 2025-06-07 18:45:42 -04:00

Merge branch 'master' into test-pr-run

This commit is contained in:
Ryan Voots 2020-10-30 11:55:26 -07:00
commit 007950b274
2 changed files with 15 additions and 4 deletions

View file

@ -1,6 +1,12 @@
name: CI name: CI
on: [push] on:
push:
branches:
- master
pull_request:
branches:
- master
jobs: jobs:
perl-job: perl-job:
@ -22,10 +28,14 @@ jobs:
- name: Install libraries and cpm - name: Install libraries and cpm
run: | run: |
apt update && apt -y install libprotobuf-dev libprotoc-dev 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 - name: Install depedencies
run: | 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 - name: Run tests
run: | run: |
bin/run-tests eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)"
prove

View file

@ -79,3 +79,4 @@ requires "WWW::Mechanize";
requires "WWW::Shorten"; requires "WWW::Shorten";
requires "WWW::Shorten::TinyURL"; requires "WWW::Shorten::TinyURL";
requires "XML::RSS::Parser"; requires "XML::RSS::Parser";
requires "Test::Differences";