Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CPAN Testers

CPAN Testers is an excellent service offered by volunteers of the Perl community. The volunteers have bot that monitor the upload queue of CPAN, run the tests of the recently uploaded modules and report the results to a central database.

You can see the results on the on their web site and also when you visit the page of a module on MetaCPAN you will see the stats of the “Testers” in the side-bar. e.g. DBI

So why should we also set up GitHub Actions?

A few reasons:

  • You get faster feedback. You get feedback already during development, not only after uploading a package to CPAN.
  • Tests can run on pull-requests as well giving fast feedback to contributors.
  • You can make customization and special setups (e.g. setup a Postgres database to use during the testing)
  • You can use secrets to connect to external services (e.g. APIs).