mirror of
https://github.com/perlbot/perlbuut
synced 2025-06-07 16:45:40 -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
|
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
|
||||||
|
|
1
cpanfile
1
cpanfile
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue