Skip to content
Snippets Groups Projects

CI pipeline for mysql unit tests

Merged Daniel Hornung requested to merge f-mysql-test into dev
3 files
+ 25
21
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 10
12
@@ -58,21 +58,19 @@ build-testenv:
@@ -58,21 +58,19 @@ build-testenv:
######## Test ########
######## Test ########
# Run the unit tests
# Run the unit tests with MySQL
unittests:
unittests-mysql:
tags: [ docker ]
tags: [ docker ]
stage: test
stage: test
# script:
script:
# - cp config.defaults .config
- make pipeline-test SQL_HOST=mysql
# - echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
# - echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config
# - echo "MYSQL_HOST=mysql" >> .config
# - sleep 10
# - make install
# - ./utils/make_db restore_db tests/example.dump.sql
# - ./tests/test_utils.sh
include: "/include-test.yml"
 
# Run the unit tests with MariaDB
 
unittests-mariadb:
 
tags: [ docker ]
 
stage: test
 
script:
 
- make pipeline-test SQL_HOST=mariadb
######## Deploy ########
######## Deploy ########
Loading