Projekt

Allgemein

Profil

Herunterladen (1,73 KB) Statistiken
| Zweig: | Markierung: | Revision:
0e5d5f2f Enrique Morales
on: push

jobs:
build:
56ad42fa Enrique Morales
runs-on: ubuntu-22.04
0e5d5f2f Enrique Morales
steps:
- name: Check out repository code
uses: actions/checkout@v3
f513e9a9 Enrique Morales
- name: Installiere Perl Module und Postgresql
0e5d5f2f Enrique Morales
run: |
f513e9a9 Enrique Morales
sudo add-apt-repository universe
0e5d5f2f Enrique Morales
sudo apt-get update
b9284088 Enrique Morales
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 libdbd-pg-perl libdbi-perl liblist-moreutils-perl libyaml-perl libconfig-std-perl libalgorithm-checkdigits-perl libarchive-zip-perl libcam-pdf-perl libdaemon-generic-perl libdatetime-perl libdatetime-event-cron-perl libdatetime-format-strptime-perl libdatetime-set-perl libexception-class-perl libemail-address-perl libemail-mime-perl libfile-copy-recursive-perl libfile-flock-perl libfile-mimeinfo-perl libfile-slurp-perl libgd-gd2-perl libhtml-restrict-perl libimage-info-perl libimager-perl libimager-qrcode-perl libipc-run-perl liblist-utilsby-perl libmath-round-perl libparams-validate-perl libpbkdf2-tiny-perl libpdf-api2-perl libregexp-ipv6-perl librest-client-perl librose-object-perl librose-db-perl librose-db-object-perl libset-infinite-perl libstring-shellquote-perl libtemplate-perl libtext-csv-xs-perl libxml-writer-perl poppler-utils
0f83a8ab Enrique Morales
- name: Configurieren
585b4ba9 Enrique Morales
run: |
cp config/kivitendo.conf.default config/kivitendo.conf
b9284088 Enrique Morales
sed -i '/db[ ]*=/ s/$/ testdb/; /host/ s/localhost/127\.0\.0\.1/' config/kivitendo.conf
1ee16a7c Enrique Morales
sudo sed -i '/host[ ]*all[ ]*all[ ]*127/s/scram-sha-256/trust/' /etc/postgresql/14/main/pg_hba.conf
- name: Postgresql starten
40c45ead Enrique Morales
run: sudo service postgresql start
0e5d5f2f Enrique Morales
- name: Starten der Tests...
b94582bc Enrique Morales
run: t/test.pl