diff --git a/.github/workflows/ms5.yaml b/.github/workflows/ms5.yaml index aa4840c..b6ba8f7 100644 --- a/.github/workflows/ms5.yaml +++ b/.github/workflows/ms5.yaml @@ -36,7 +36,7 @@ jobs: run: | python -m pip install --upgrade pip pip install pylint - + # Pytest is for unit testing your python code. Use this block as is to # install pytest in the Docker container running the job @@ -45,6 +45,12 @@ jobs: python -m pip install --upgrade pip pip install pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + + - name: Build and Run Docker + run: | + docker build -f dockerfile -t doc . + docker run -d -p 5000:5000 doc + # Run pytest on your pulled codebase - name: Test with pytest run: |