fix: gh action

pull/9060/head
Luciano Righetti 2023-05-05 11:21:18 +02:00
parent 559a25c0a7
commit f134b9c719
1 changed files with 6 additions and 7 deletions

View File

@ -44,15 +44,14 @@ jobs:
- name: Install mysql client
run: sudo apt-get install -y mysql-client
- name: Create database conf
run: cat <<EOF >/etc/mysql/conf.d/misp.cnf
[client]
user=misp
password=misp
EOF
- name: Write database conf file
run: |
echo "[client]" >> misp.cnf
echo "user=misp" >> misp.cnf
echo "password=misp" >> misp.cnf
- name: Populate database with initial schema
run: mysql --defaults-file=/etc/mysql/conf.d/misp.cnf -h 127.0.0.1 misp3_test < docker/db/misp-2.4.169.sql
run: mysql --defaults-file=misp.cnf -h 127.0.0.1 misp3_test < docker/db/misp-2.4.169.sql
- name: Install composer packages
run: composer install --no-interaction --no-progress --no-suggest --ignore-platform-reqs