PrePAN

Sign in to PrePAN

Test2::Plugin::GitHub::Actions::AnnotateFailedTest Annotate failed tests with GitHub Actions workflow command

Good

Synopsis

use Test2::Plugin::GitHub::Actions::AnnotateFailedTest;
use Test::More;

# ...

ok 0; # annotation comes to this line

Description

This is a Test2 plugin that provides annotations for failed tests running in GitHub Actions workflow, using a workflow command. You can use it with use Test2::Plugin::GitHub::Actions::AnnotateFailedTest regardless of running in GitHub Actions workflow or not.

Questions

  • Is the name appropriate?
  • Can I publish it to CPAN from current master branch and install successfully? (Are the dependencies enough?)

Comments

I published this to CPAN today.
https://metacpan.org/pod/Test2::Plugin::GitHub::Actions::AnnotateFailedTest
If you're unsure about sufficient dependencies, and you don't want to publish a module as a stable one, then you can still create a developer release, see https://www.cpan.org/modules/04pause.html#developerreleases
And then check the CPAN tester results afterwards.

Please sign up to post a review.