-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3c05d4
commit 766d432
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|