Projekt

Allgemein

Profil

Herunterladen (995 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
0e5d5f2f Enrique Morales
on: push

jobs:
build:
runs-on: ubuntu-latest
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
9893586a 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
0f83a8ab Enrique Morales
- name: Configurieren
585b4ba9 Enrique Morales
run: |
cp config/kivitendo.conf.default config/kivitendo.conf
sed -i '/db[ ]*=/ s/$/ testdb/' 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
3e79df78 Enrique Morales
- name: Setup upterm session
uses: lhotari/action-upterm@v1
0e5d5f2f Enrique Morales
- name: Starten der Tests...
b94582bc Enrique Morales
run: t/test.pl