Update python-app.yml

This commit is contained in:
DarkShy
2024-01-08 10:35:59 +03:00
committed by GitHub
parent 99f0987069
commit d67f1ab0f0

View File

@@ -30,9 +30,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install flake8 pytest pytest-flask Flask requests pip install pytest pytest-flask Flask requests
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Start app
run: | - name: Test with pytest
pytest pony.py run: |
pytest pony.py --doctest-modules --junitxml=junit/test-results.xml \
--live-server-wait