Skip to content

Commit

Permalink
ci: get tests working
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 17, 2024
1 parent 73766ce commit ee3e7fd
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
38 changes: 36 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
pull_request:

jobs:

test:
strategy:
matrix:
os: ["ubuntu-latest"]
perl: ["5.16", "5.32"]
fail-fast: false
runs-on: ubuntu-latest
Expand All @@ -23,4 +23,38 @@ jobs:
with:
perl-version: ${{ matrix.perl }}
- run: cpanm --installdeps -n -f .
- run: prove -lv t
- run: prove -lv t


perl_tester:
runs-on: ubuntu-latest

strategy:
matrix:
os: ["ubuntu-latest"]
perl-version:
- "5.16"
- "5.26"
- "5.32"
fail-fast: false

services:
redis:
image: redis
ports:
- 6379:6379

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Install Perl Modules with cpanm
uses: perl-actions/install-with-cpanm@v1
continue-on-error: true
with:
install: |
Regexp::Common
- run: cpanm --installdeps -n -f .
- run: prove -lv t
3 changes: 0 additions & 3 deletions bin/install_deps.pl
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
my $apps = [
{ app => 'daemontools', info => { } },
{ app => 'ucspi-tcp', info => { } },
# { app => 'dspam', info => { } },
# { app => 'mysql-server-55', info => { port => 'mysql55-server', dport=>'mysql5', yum =>'mysql-server'} },
# { app => 'apache22' , info => { port => 'apache22', dport=>'', yum => 'httpd' } },
];

$EUID == 0 or die "You will have better luck if you run me as root.\n";
Expand Down

0 comments on commit ee3e7fd

Please sign in to comment.