Skip to content
Snippets Groups Projects
Commit b3bffa15 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

TST: execute the new tests in ci; do output the test info

parent 63926c8c
Branches
Tags
No related merge requests found
...@@ -51,8 +51,8 @@ unittests: ...@@ -51,8 +51,8 @@ unittests:
- echo 'DATABASE_USER_HOST_LIST="%,"' >> .config - echo 'DATABASE_USER_HOST_LIST="%,"' >> .config
- echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config - echo "MYSQL_USER_PASSWORD=$MYSQL_ROOT_PASSWORD" >> .config
- echo "MYSQL_HOST=mariadb" >> .config - echo "MYSQL_HOST=mariadb" >> .config
- ./utils/make_db test-connection - ./utils/make_db restore tests/example.dump.sql
- ./utils/make_db test --fresh - ./tests/test_utils.sh
# Build a docker image in which tests for this repository can run # Build a docker image in which tests for this repository can run
build-testenv: build-testenv:
......
...@@ -71,7 +71,7 @@ BACKUPDIR=$backupdir $UTILSPATH/backup.sh > /dev/null ...@@ -71,7 +71,7 @@ BACKUPDIR=$backupdir $UTILSPATH/backup.sh > /dev/null
echo '[Ok]' echo '[Ok]'
# run normal tests # run normal tests
echo -n 'running sql tests... ' echo -n 'running sql tests... '
$UTILSPATH/make_db test > /dev/null $UTILSPATH/make_db test --fresh
echo '[Ok]' echo '[Ok]'
echo -n 'creating secondary dump... ' echo -n 'creating secondary dump... '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment