From da08f1abe1ddf4d7b986d32f15cf090f19254767 Mon Sep 17 00:00:00 2001 From: elimoshkovich Date: Thu, 11 Apr 2024 11:52:27 -0700 Subject: [PATCH] tests with cov --- .github/workflows/pdp_cicd.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index 5e7b3331..e312187e 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -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/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