Skip to content

Commit

Permalink
wip12
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Apr 11, 2024
1 parent c3c05d4 commit 766d432
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pdp_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
pytest-coverage: pytest-coverage.txt
# - name: Comment coverage
# uses: coroo/[email protected]
# with:
# pytest-coverage: pytest-coverage.txt

# build-and-push-pdp-vanilla:
# needs: pdp-tests
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 766d432

Please sign in to comment.