From 4ad7a6fda57ff9c6505bb7a64f1163755a656d47 Mon Sep 17 00:00:00 2001 From: Rotem Bar Sela Date: Wed, 14 Aug 2024 20:53:02 +0300 Subject: [PATCH] updated ci/cd --- .github/workflows/ci-cd.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a37d22a..07ec517 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -14,7 +14,7 @@ jobs: services: mariadb: - image: mariadb:latest + image: mariadb:10.6 env: MYSQL_ROOT_PASSWORD: root_password MYSQL_DATABASE: project_db @@ -27,6 +27,7 @@ jobs: --health-interval=10s --health-timeout=5s --health-retries=3 + command: --innodb-use-native-aio=OFF redis: image: redis:latest ports: @@ -70,6 +71,9 @@ jobs: working-directory: client run: npm install + - name: Wait for MariaDB to be ready + run: sleep 15 + - name: Run tests (Server) working-directory: server run: npm run test