mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
try this - no database restarting what so ever
This commit is contained in:
parent
8b8213a3b7
commit
a424bb8fee
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -508,11 +508,14 @@ jobs:
|
||||
##########################################################################
|
||||
- name: backend | docker-compose
|
||||
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps mariadb
|
||||
- name: Sleep for 30 seconds
|
||||
run: sleep 30s
|
||||
shell: bash
|
||||
- name: backend | docker-compose database
|
||||
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps database
|
||||
#- name: Sleep for 30 seconds
|
||||
# run: sleep 30s
|
||||
# shell: bash
|
||||
- name: Sleep for 30 seconds
|
||||
run: sleep 30s
|
||||
shell: bash
|
||||
- name: backend Unit tests | test
|
||||
run: cd database && yarn && yarn build && cd ../backend && yarn && yarn CI_worklfow_test
|
||||
# run: docker-compose -f docker-compose.yml -f docker-compose.test.yml exec -T backend yarn test
|
||||
|
||||
@ -19,8 +19,8 @@ services:
|
||||
########################################################
|
||||
# DATABASE #############################################
|
||||
########################################################
|
||||
database:
|
||||
restart: always # this is very dangerous, but worth a test for the delayed mariadb startup at first run
|
||||
#database:
|
||||
# restart: always # this is very dangerous, but worth a test for the delayed mariadb startup at first run
|
||||
|
||||
#########################################################
|
||||
## MARIADB ##############################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user