Skip to content

Commit

Permalink
Update github test run to install perl deps through cpanm
Browse files Browse the repository at this point in the history
To ensure the github test run has the updated versions of the
modules, install the perl deps through cpanm instead of the package
manager.
  • Loading branch information
renderorange committed May 5, 2024
1 parent fb668bd commit e9dcf6e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
sudo apt-get install cpanminus sqlite3
- name: Install perl dependencies
run: |
sudo apt-get -y install libconfig-tiny-perl libdbi-perl libdancer2-perl libdata-structure-util-perl libdigest-sha-perl libencode-perl libmoo-perl libsession-storage-secure-perl libtime-piece-perl libtry-tiny-perl libnamespace-clean-perl libstrictures-perl
sudo cpanm -n Crypt::Eksblowfish::Bcrypt Crypt::Random Cwd DBD::SQLite Dancer2::Session::Cookie HTTP::Status MooX::ClassAttribute Plack::Middleware::TrailingSlashKiller Scalar::Util Template::Toolkit
sudo cpanm -n Config::Tiny Crypt::Eksblowfish::Bcrypt Crypt::Random Cwd Dancer2 Dancer2::Session::Cookie Data::Structure::Util DBD::SQLite DBI Digest::SHA Encode Getopt::Long HTTP::Status Moo MooX::ClassAttribute namespace::clean Plack::Builder Plack::Middleware::TrailingSlashKiller Pod::Usage Scalar::Util Session::Storage::Secure strictures Template::Toolkit Time::Piece Try::Tiny
- name: Install perl test dependencies
run: |
# Test::More and File::Spec are provided by perl-modules-*
sudo apt-get -y install libtest-warnings-perl libtest-exception-perl libtest-deep-perl libfile-temp-perl libfile-path-perl libtest-perl-critic-perl libtest-pod-perl
sudo cpanm -n Test::PerlTidy Plack::Test
sudo cpanm -n Test::Warnings Test::Exception Test::Deep File::Temp File::Path Test::Perl::Critic Test::Pod Test::PerlTidy Plack::Test
- name: Check out branch
uses: actions/checkout@v2
- name: Run lint tests
Expand Down

0 comments on commit e9dcf6e

Please sign in to comment.