Skip to content

Commit

Permalink
tests with cov
Browse files Browse the repository at this point in the history
  • Loading branch information
EliMoshkovich committed Apr 11, 2024
1 parent c565901 commit da08f1a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pdp_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ jobs:
run: |
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
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 horizon/tests/
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

0 comments on commit da08f1a

Please sign in to comment.