From 5975b638c52b7067e746432a260118fa212b01c5 Mon Sep 17 00:00:00 2001 From: Eric O Asante Date: Sat, 2 Nov 2024 06:20:43 -0400 Subject: [PATCH] n.yaml --- .github/workflows/ms5.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ms5.yaml b/.github/workflows/ms5.yaml index ad2e623..b915b02 100644 --- a/.github/workflows/ms5.yaml +++ b/.github/workflows/ms5.yaml @@ -46,4 +46,12 @@ jobs: pip install pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - + - name: Build and Run Docker + run: | + docker build -f Backend/Docker -t doc . + docker run -d -p 5000:5000 doc + + # Run pytest on your pulled codebase + - name: Test with pytest + run: | + pytest