Skip to content

Commit

Permalink
Stick to prove for now
Browse files Browse the repository at this point in the history
  • Loading branch information
charsbar authored and andk committed Apr 25, 2024
1 parent 08e91c6 commit e1acb66
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/perl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e1acb66

Please sign in to comment.