From adbec94d970306237944dcc81198ec9f16b3b5fd Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 20 Aug 2024 03:23:10 +0000 Subject: [PATCH] Set PYTHONPATH in CI/CD pipeline to include src directory --- .github/workflows/ci-cd.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 2cd4f2f..3c3be77 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -26,6 +26,10 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt + - name: Set PYTHONPATH + run: | + echo "PYTHONPATH=$PYTHONPATH:${{ github.workspace }}/src" >> $GITHUB_ENV + - name: Run tests run: | pytest