Update python-app.yml
This commit is contained in:
8
.github/workflows/python-app.yml
vendored
8
.github/workflows/python-app.yml
vendored
@@ -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
|
|
||||||
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest pony.py
|
pytest pony.py --doctest-modules --junitxml=junit/test-results.xml \
|
||||||
|
--live-server-wait
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user