Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: GitHub perl-ci.yml

by SankoR (Prior)
on Oct 13, 2023 at 12:31 UTC ( [id://11154943] : note . print w/replies, xml ) Need Help??


in reply to GitHub perl-ci.yml

I wouldn't bother with such ancient perls but your tests on 5.10 and 5.10.1 fail because your code is looking for a newer version of Test::More than the version installed. Your failing tests on 5.14, 5.16, and 5.18 are all failures to find HTTP::Tiny 0.083 or better. Your module itself fails to load so $WWW::Crawl::VERSION is never defined.

I haven't used ExtUtils::MakeMaker since the days of Module::Build and perl 5.10 but there should be support for a cpanfile to manage these prerequisites by now. If you're new, I would suggest you switch to Module::Build/Module::Build::Tiny and Minilla to manage it all. Some of your author tests are automatically generated and run by Minilla instead of stashing them in the dist itself. Minilla would have also generated your missing LICENSE file. Could also generate a README.md based on your pod, tidy the code and pod, run spellcheck, make sure your version number is updated before release, tag the releases in git, etc. Really speeds up the entire process of managing a small distribution.

Before your next release, don't forget to add a LICENSE, delete the misplaced test /01-html.t in the base directory, and fix the typo on line 170 of /lib/WWW/Crawl.pm (itial => initial). :)

Replies are listed 'Best First'.
Re^2: GitHub perl-ci.yml
by Bod (Parson) on Oct 15, 2023 at 20:33 UTC
    Before your next release, don't forget to add a LICENSE, delete the misplaced test /01-html.t in the base directory, and fix the typo on line 170 of /lib/WWW/Crawl.pm (itial => initial). :)

    Done!
    Thanks...

    Although I've deleted /01-html.t, it still shows :S

      Try git rm then commit and push.

      Not that you asked, but I'd suggest git gui or another 3rd party gui for better control of your repo. Remembering how to use even git's basic features from the terminal is trickier than it seems.