From a7c8cda27b1091eef0d6b68fcf7b700600d3024d Mon Sep 17 00:00:00 2001 From: gautamkhanapuri <167844844+gautamkhanapuri@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:43:45 +0530 Subject: [PATCH] debugging workflow file --- .github/workflows/python-app.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1008c2e..cc49178 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -21,15 +21,18 @@ jobs: - uses: actions/checkout@v4 - name: Install dependencies run: | - export PYTHONPATH=./division:./division/source:./division/tests - cd ./division + curdir=`pwd` + export PYTHONPATH=$curdir/division:$curdir/division/source:$curdir/division/tests + cd division python -m venv div_test_env source div_test_env/bin/activate python -m pip install --upgrade pip pip list pip install nose2 pip list - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + if [ -f requirements.txt ]; then + pip install -r requirements.txt + fi cd tests nose2 -v if [[ $? -eq 0 ]]; then