From f765eb54971cd35efe38d84ad831a63d523df549 Mon Sep 17 00:00:00 2001 From: linsanity03 Date: Sun, 6 Oct 2024 19:49:18 +0100 Subject: [PATCH] changing pythonpath to app in github directory --- .github/workflows/python-app.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 9b30463..5c50152 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -28,7 +28,9 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt + - name: Set PYTHONPATH + run: echno "PYTHONPATH=$PYTHONPATH:$(pwd)/app" >> $GITHUB_ENV - name: Run tests - working-directory: ./tests/test_routers + working-directory: ./tests run: | pytest