diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6fe1616..b1123da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,7 @@ jobs: MYSQL_DATABASE: rating_test MYSQL_ALLOW_EMPTY_PASSWORD: yes + if: ${{ matrix.db == 'mysql' }} image: mysql:8 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 @@ -40,6 +41,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_HOST_AUTH_METHOD: trust + if: ${{ matrix.db == 'postgres' }} image: postgres:alpine options: >-