Skip to content
Snippets Groups Projects

CI pipeline for mysql unit tests

Merged Daniel Hornung requested to merge f-mysql-test into dev
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -21,6 +21,7 @@
services:
- mariadb:10.4
- mysql:8.0
variables:
DEPLOY_REF: dev
CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-mysqlbackend/testenv:latest
@@ -62,7 +63,7 @@ unittests:
- cp config.defaults .config
- echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
- echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config
- echo "MYSQL_HOST=mariadb" >> .config
- echo "MYSQL_HOST=mysql" >> .config
- sleep 10
- make install
- ./utils/make_db restore_db tests/example.dump.sql
Loading