diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index 08a243c1..89c5f993 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -63,19 +63,20 @@ jobs: - name: Run Pytests run: | - export PYTHONPATH=$(pwd) + #export PYTHONPATH=$(pwd) python -m pip install --upgrade pip - pip install flake8 pytest pytest-cov + #pip install flake8 pytest pytest-cov python setup.py install #pip install cryptography=42.0.5 if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - pytest -s --cache-clear --cov=app horizon/tests/ > pytest-coverage.txt + #pytest -s --cache-clear --cov=app horizon/tests/ > pytest-coverage.txt + pytest -s --cache-clear horizon/tests - - name: Comment coverage - uses: coroo/pytest-coverage-commentator@v1.0.2 - with: - pytest-coverage: pytest-coverage.txt + # - name: Comment coverage + # uses: coroo/pytest-coverage-commentator@v1.0.2 + # with: + # pytest-coverage: pytest-coverage.txt # build-and-push-pdp-vanilla: # needs: pdp-tests diff --git a/requirements.txt b/requirements.txt index f6061d8f..7ffd7414 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ aiohttp>=3.8.1,<4 +cryptography>=42.0.4,<43 fastapi>=0.78.0,<1 gunicorn>=20.1.0,<21 Jinja2>=3.1.2,<4