Skip to content

Commit

Permalink
updated ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
rotembarsela committed Aug 14, 2024
1 parent d694b27 commit 4ad7a6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

services:
mariadb:
image: mariadb:latest
image: mariadb:10.6
env:
MYSQL_ROOT_PASSWORD: root_password
MYSQL_DATABASE: project_db
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4ad7a6f

Please sign in to comment.