diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1d72075..aa7b8ea5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -23,4 +23,38 @@ jobs: with: perl-version: ${{ matrix.perl }} - run: cpanm --installdeps -n -f . - - run: prove -lv t \ No newline at end of file + - 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 diff --git a/bin/install_deps.pl b/bin/install_deps.pl index bb2f7cb9..e3487f16 100755 --- a/bin/install_deps.pl +++ b/bin/install_deps.pl @@ -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";