From e1acb6654e1b622fa79097a83cc425173b27a667 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 25 Apr 2024 20:22:09 +0900 Subject: [PATCH] Stick to prove for now --- .github/workflows/perl-tests.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/perl-tests.yml b/.github/workflows/perl-tests.yml index c40e05377..9e9fef322 100644 --- a/.github/workflows/perl-tests.yml +++ b/.github/workflows/perl-tests.yml @@ -35,19 +35,21 @@ jobs: # 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: 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 + 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