Skip to content

Remove unused PAUSE 1999 version code #120

Remove unused PAUSE 1999 version code

Remove unused PAUSE 1999 version code #120

Workflow file for this run

name: "perl test suite"
on: [ push, pull_request ]
jobs:
the-tests:
runs-on: ubuntu-latest
container:
image: perldocker/perl-tester:5.36
strategy:
fail-fast: false
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Makefile.PL
run: |
perl Makefile.PL && make
- name: Install prereqs (apt)
# If we install "default-mysql-server", the web tests will run, which
# is good, but they will run forever when we get to
# t/pause_2017/action/change_passwd.t not responding to SIGTERM or
# SIGKILL. I seem to recall something about signals being weird on
# Actions, but not how... -- rjbs, 2023-05-05
run: |
apt update
apt install -y rsync default-mysql-server
- name: Install prereqs (cpanm, pinned versions)
# PAUSE is run (for now?) on v5.16, and the latest versions from the
# CPAN don't install on v5.16, so we install these version that do.
# -- rjbs, 2023-05-05
run: |
cpanm Log::[email protected]
cpanm [email protected]
- name: Install prereqs (cpan)
# This could probably be made more efficient by looking at what it's
# installing via cpanm that could, instead, be installed from apt. I
# may do that later, but for now, it's fine! -- rjbs, 2023-01-07
run: cpanm --notest --installdeps .
- name: Run the tests
run: prove -lr -j4 t
# - name: Install yath and JUnit renderer
# run: cpanm --notest Test2::Harness Test2::Harness::Renderer::JUnit
# - name: Run the tests
# # We disable Test::Perl::Critic because of a bug in
# # Test2::Harness::Renderer::JUnit. See:
# # https://github.com/cpanel/Test2-Harness-Renderer-JUnit/issues/16
# # -- rjbs, 2023-05-05
# run: |
# NO_PERL_CRITIC=1 JUNIT_TEST_FILE="/tmp/test-output.xml" ALLOW_PASSING_TODOS=1 yath test --renderer=Formatter --renderer=JUnit -D
# - name: Publish test report
# uses: mikepenz/action-junit-report@v3
# if: always() # always run even if the previous step fails
# with:
# check_name: JUnit Report
# report_paths: /tmp/test-output.xml