From a07f3a1399cd854faff310831726c1367b19c891 Mon Sep 17 00:00:00 2001 From: Jacklyn22 <158542446+Jacklyn22@users.noreply.github.com> Date: Wed, 1 May 2024 16:06:52 -0400 Subject: [PATCH] Update ml.yml --- .github/workflows/ml.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ml.yml b/.github/workflows/ml.yml index 8958666..9d244f0 100644 --- a/.github/workflows/ml.yml +++ b/.github/workflows/ml.yml @@ -20,17 +20,18 @@ jobs: python-version: '3.8' - name: Change to ML directory - run: cd machine-learning-client - - - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install -r requirements.txt + cd machine-learning-client + python -m pip install --upgrade pip + pip install -r requirements.txt - name: Test with pytest run: | + cd machine-learning-client pip install pytest pytest - name: Build Docker image - run: docker build . --file Dockerfile + run: | + cd machine-learning-client + docker build . --file Dockerfile