注释pytest

This commit is contained in:
Jing Ling
2019-12-13 01:46:54 +08:00
committed by GitHub
parent 70d3267803
commit 30bc74a9a9
+5 -5
View File
@@ -16,7 +16,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install coverage
pip install -r requirements.txt
- name: Lint with flake8
run: |
@@ -25,10 +24,11 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pip install pytest
pytest
# - name: Test with pytest
# run: |
# pip install pytest
# pytest
- name: Test with example
run: |
pip install coverage
coverage run oneforall/example.py