diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index eb539539..06c7cdf0 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -19,6 +19,9 @@ jobs: - name: Run Pytests run: | + export PYTHONPATH=$(pwd) python -m pip install --upgrade pip - pip install -r requirements.txt -r requirements-dev.txt + if [ -f requirements-dev.txt ]; then pip install -r requirements.txt -r requirements-dev.txt; fi + if [ -f requirements.txt ]; then pip install ; fi + python setup.py install pytest -s --cache-clear horizon/tests/ diff --git a/requirements.txt b/requirements.txt index ef97b482..0aa918c4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ --e ./ aiohttp>=3.9.4,<4 fastapi>=0.109.1,<1 gunicorn>=22.0.0,<23