ci: condition looks like not work on services
parent
d9b45b8497
commit
06b2caaa4b
|
@ -28,7 +28,6 @@ jobs:
|
||||||
MYSQL_DATABASE: rating_test
|
MYSQL_DATABASE: rating_test
|
||||||
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes
|
||||||
|
|
||||||
if: ${{ matrix.db == 'mysql' }}
|
|
||||||
image: mysql:8
|
image: mysql:8
|
||||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ jobs:
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
POSTGRES_HOST_AUTH_METHOD: trust
|
||||||
|
|
||||||
if: ${{ matrix.db == 'postgres' }}
|
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
|
|
||||||
options: >-
|
options: >-
|
||||||
|
|
Loading…
Reference in New Issue