From 177b9dec856afae0d72086e3d9b65dba1190dd25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20T=E1=BA=A5n=20Huy?= <82441277+nemouet@users.noreply.github.com> Date: Fri, 24 May 2024 08:01:30 +0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c343fff..0dd82cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Run container run: | sudo docker network create mongodb_network - sudo docker run -d --name mongodb-server --network mongodb_network huyuet/mongo:5.0 - sudo docker run -d --name backend --network mongodb_network huyuet/backend-image + sudo docker run -p 27017:27017 -d --name mongodb-server --network mongodb_network huyuet/mongo:5.0 + sudo docker run -p 5000:5000 -d --name backend --network mongodb_network huyuet/backend-image - name: Run unittest run: python API/unit_test/test_api.py