Subject: | System perl used in tests |
Tests fail on Debian systems, probably because the system perl is used (@INC of the following test output excerpt contains /etc/perl, which is an indication for Debian's /usr/bin/perl):
# Failed test 'CGI output as expected'
# at t/basic-functionality.t line 47.
# got: 'Can't locate Moo.pm in @INC (@INC contains: t/../lib /tmpfs/.cpan-build/2016011106/CGI-Github-Webhook-0.01-pq1fDo/blib/lib /tmpfs/.cpan-build/2016011106/CGI-Github-Webhook-0.01-pq1fDo/blib/arch /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at t/../lib/CGI/Github/Webhook.pm line 11.
# BEGIN failed--compilation aborted at t/../lib/CGI/Github/Webhook.pm line 11.
# Compilation failed in require at t/cgi/basic.pl line 10.
# BEGIN failed--compilation aborted at t/cgi/basic.pl line 10.
# '
Probably you have to use somewhere in the tests $^X instead of "perl".