ci config
Some checks failed
Build Project / TestWithDb (push) Has been cancelled

This commit is contained in:
Martin Below 2024-06-10 09:41:08 +02:00
parent 25de6aad68
commit fd76e08759

View File

@ -19,5 +19,9 @@ jobs:
steps:
- name: install netcat
run: apt-get -y update ; apt -y install netcat-openbsd
- name: install mariadb server
run: apt-get -y install mariadb-server
- name: start mariadb server
run: mkdir /var/run/mysqld ; chown mysql:mysql /var/run/mysqld ; su mysql -s /bin/bash -c mariadbd &
- name: try to connect to db
run: sleep 600 ; nc -w5 -z -v db 3306 || nc -w5 -z -v localhost 3306