From cf72c8086d5186441070f72c6e1f202701fe8a09 Mon Sep 17 00:00:00 2001 From: JVT038 Date: Mon, 29 Jan 2024 16:56:08 +0100 Subject: [PATCH] Update test_app.yml --- .github/workflows/test_app.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_app.yml b/.github/workflows/test_app.yml index d47feba..8fb28e2 100644 --- a/.github/workflows/test_app.yml +++ b/.github/workflows/test_app.yml @@ -31,4 +31,7 @@ jobs: python -m pip install --upgrade pip if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Run unit tests for database - run: pytest tests --disable-warnings + run: | + echo ${pwd} + export PYTHONPATH="$(pwd)" + python -m unittest tests/test_database.py