NAME
TAP::Formatter::GitHubActions - TAP Formatter for GitHub Actions
SYNOPSIS
On the command line, with prove:
$ prove --merge --formatter TAP::Formatter::GitHubActions ...
You can also use a .proverc
file with
# .proverc contents
--lib
--merge
--formatter TAP::Formatter::GitHubActions
And then invoke prove without flags:
$ prove
IMPORTANT NOTE
This formatter needs the --merge
flag, else it won't be able to process the comments to produce GitHub-Actions-compatible output.
DESCRIPTION
TAP::Formatter::GitHubActions
provides GitHub-Actions-compatible output for prove.
It parses TAP output and tries it's best to guess where errors are located. For more accurate results, use in cojunction with Test2::Formatter::YAMLEnhancedTAP.
Test2::Formatter::YAMLEnhancedTAP enriches the TAP output generated by Test2 and friends (Test::More, Test::Most) with an additional context in YAML format (compliant with TAP version 13) that includes the precise location of the failure.
SEE ALSO
- TAP::Formatter::JUnit: JUnit XML output for your Tests!
- Test2::Formatter::YAMLEnhancedTAP: Enhanced TAP Output for your tests!
- GitHub Workflow Commands Documentation: For more information about the output syntax
AUTHOR
Jose, D. Gomez R. <1josegomezr [AT] gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2023 by Jose D. Gomez R.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.38.0 or, at your option, any later version of Perl 5 you may have available.