From 8d538bcba9a363849dc1ab967094253f2696f596 Mon Sep 17 00:00:00 2001 From: la3679 <143540361+la3679@users.noreply.github.com> Date: Tue, 26 Mar 2024 12:28:13 -0400 Subject: [PATCH] Update python-app.yml for unit testing --- .github/workflows/python-app.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index a8b6626..095a3d7 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -25,9 +25,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -r reqruirements.txt # Install other necessary packages + pip install -r requirements.txt # Install dependencies from your requirements.txt file - name: Run unit tests run: | - python -m coverage run --data-file=coverage_unittest.data --source=src/db,tests -m unittest -v + python -m unittest discover -s tests -v +