perl / docker-perl-tester Goto Github PK
View Code? Open in Web Editor NEWDocker images with pre-installed test modules and test dependencies for CPAN modules
Docker images with pre-installed test modules and test dependencies for CPAN modules
This is the current Debian stable: https://www.debian.org/releases/bullseye/.
It is supported by the upstream container: Perl/docker-perl#107.
https://github.com/FGasper/p5-TOML-XS/actions/runs/731758471
^ If you look at the failures here, they all fail because there’s no .git/ directory.
5.26:
https://github.com/FGasper/p5-TOML-XS/runs/2302718045?check_suite_focus=true
5.24:
https://github.com/FGasper/p5-TOML-XS/runs/2302718053?check_suite_focus=true
Is this an intentional difference between the images?
Thank you!
These are failing consistently.
docker-perl has very graciously added a monthly "devel" build of perl's latest dev snapshot, like the current v5.37.8
Being able to test against "latest blead" would be very useful!
I afraid I am unlikely to volunteer for this work, as I barely know how to operate Docker, so instead I hope someone else will be excited by this news and do whatever must be done. :)
Hi. I've just started using docker-perl-tester (via github actions). I'm using perl-tester:5.14
to :5.36
and :latest
, and Dist::Zilla
is documented (in the README.md
) as being available from :5.14
onwards, but all my dzil
commands (e.g., dzil authordeps --missing | cpanm --notest
) result in dzil: not found
in the log. Any idea what I'm doing wrong? I checked that /usr/local/bin
is in $PATH,
and it is. Then I added find /usr -type f -name dzil
to the github actions but it found nothing. The dzil
command does come with Dist::Zilla
, doesn't it? Or have I been spoiled by debian's libdist-zilla-perl
package? How do I install dzil
? Also, why isn't it there? I've seen a tutorial online that uses dzil
without any obvious attempt to install it explicitly (https://perlmaven.com/setup-github-actions). What am I missing? I just added find / -type f -name Zilla.pm
to the actions it didn't find Dist::Zilla
. This is looking wierd. I even tried to cpanm --notest Dist::Zilla
but that failed with:
! Configure failed for Dist-Zilla-6.030. See /github/home/.cpanm/work/1683541347.105/build.log for details.`
Configuring Dist-Zilla-6.030 ... N/A
##[error]Process completed with exit code 1.
Any advice would be appreciated. I've included my github actions yml file (without the above experiments) in case that helps.
ci.yml.txt
The errors above were for :5.14
. I just checked your Dockerfile's cpanfile and it doesn't mention Dist::Zilla
until version 5.20 (not 5.14 as stated in the README.md
). Does that mean the README.md
is wrong, and that Dist::Zilla
is only available with :5.20
and above? If so, please fix the README.md
(or make what it says true).
Also, I checked the logs for :latest
, which does have Dist::Zilla
, and it fails differently:
! Finding Test::FailWarnings~"0" on cpanmetadb failed.
! Finding Test::FailWarnings~"0" () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Test::FailWarnings~"0"
! Finding Test::Kwalitee~"1.21" on cpanmetadb failed.
! Finding Test::Kwalitee~"1.21" () on mirror http://www.cpan.org failed.
! Couldn't find module or a distribution Test::Kwalitee~"1.21"
I don't know why these modules can't be found (or where the v1.21 comes from).
Maybe I should just abandon using dzil
in github actions, and just run prove -l
.
Hello,
I’d like to test for this issue’s fix in CI.
Would it be possible for a long-double and/or quadmath perl to be among the available images?
Thank you!
This was discovered by @felipe while reporting #18
We should consider rebuilding the images to ensure we use an up to date version of git.
view https://github.com/FGasper/p5-TOML-XS/runs/2302718149?check_suite_focus=true
Hi,
I am fond of perlimports for cleaning up my import statements. Would it make sense to add that module to the image? The list of dependencies looks a bit daunting though.
Edit: The issue with DBD::ODBC was unrelated.
I just bumped into this image and started to use it.
The first thing I wanted to use it with also asked to install
JSON and Alien::Build
Another project required
Test::Requires, Plack::Test, Test::SharedFork, Test::TCP, Test::Time (and probably a few others)
I'd be glad to send the respective PRs, but I thought I'd ask first what do you think?
What is your policy of inclusion.
add an alias for using last
This is a bit tentative, but: I think that by having Test2::Harness (yath) and Test2::Harness::Renderer::JUnit
by default, the junit-report-action will become really easy to use and give nice output.
FAIL Minilla-v3.1.10 requires perl 5.010001, but you have only 5.008009
more from https://github.com/Perl/docker-perl-tester/runs/817426266
This task is about starting a discussion with @skaji about using the pre-set test Docker Images from https://hub.docker.com/repository/docker/perldocker/perl-tester/ in the suggested templates.
images are refreshed daily by a cronjob.
use cpan-outdated to be sure non dual life modules are up to date
view idea from @oalders https://github.com/oalders/tester-perl/pull/5/files
This is an issue while building 5.10 images
Read more from
https://github.com/Perl/docker-perl-tester/runs/4064712546?check_suite_focus=true
extract
Getopt-Long-Descriptive-0.110| Perl v5.12.0 required--this is only v5.10.1, stopped at Makefile.PL line 5.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.