Revision b2a31c03
Von Bernd Bleßmann vor 9 Monaten hinzugefügt
.github/workflows/main.yml | ||
---|---|---|
21 | 21 |
sudo apt-get install postgresql postgresql-contrib libtest-deep-perl libtest-exception-perl libtest-output-perl libwww-perl liburi-find-perl libsys-cpu-perl libthread-pool-simple-perl libdbi-perl liblist-moreutils-perl libyaml-perl libregexp-ipv6-perl libpbkdf2-tiny-perl librose-object-perl librose-db-perl librose-db-object-perl libdigest-perl-md5-perl liblist-utilsby-perl libalgorithm-checkdigits-perl libhtml-restrict-perl libfile-slurp-perl libsort-naturally-perl libmath-round-perl libtext-csv-xs-perl libtemplate-perl libcam-pdf-perl libxml-libxml-perl libxml-writer-perl libemail-address-perl libemail-mime-perl libarchive-zip-perl libimager-perl libimager-qrcode-perl libstring-shellquote-perl libgd-gd2-perl libimage-info-perl libconfig-std-perl libdbd-pg-perl libdatetime-event-cron-perl libfile-copy-recursive-perl librest-client-perl libipc-run-perl libfile-mimeinfo-perl libencode-imaputf7-perl libmail-imapclient-perl libhttp-dav-perl libpdf-api2-perl cpanminus |
22 | 22 |
- name: install cpan modules that don't have deb packages |
23 | 23 |
run: | |
24 |
cpanm -L ${{ vars.GITHUB_WORKSPACE }}/cpan HTML::Query
|
|
24 |
cpanm -L ${{ github.workspace }}/cpan HTML::Query
|
|
25 | 25 |
- name: Configurieren |
26 |
env: |
|
27 |
PERL5LIB: ${{ vars.GITHUB_WORKSPACE }}/cpan |
|
28 | 26 |
run: | |
29 | 27 |
cp config/kivitendo.conf.default config/kivitendo.conf |
30 | 28 |
sed -i '/db[ ]*=/ s/$/ testdb/; /host/ s/localhost/127\.0\.0\.1/' config/kivitendo.conf |
... | ... | |
33 | 31 |
run: sudo service postgresql start |
34 | 32 |
- name: Starten der Tests... |
35 | 33 |
run: t/test.pl |
34 |
env: |
|
35 |
PERL5LIB: ${{ github.workspace }}/cpan/lib/perl5 |
Auch abrufbar als: Unified diff
github action: Fix Zugriff auf workspace-Variable; fix PERL5LIB-Pfad