Skip to content

Commit 4c84576

Browse files
committed
Improve pipeline
Now coverage is not run by default, speeding up testing
1 parent cb223a1 commit 4c84576

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
pip install poetry tox
2727
poetry install
2828
- name: Run Tox
29-
run: tox
29+
run: tox -- --no-cov

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ install:
1414
- pip install tox-travis
1515

1616
# command to run tests
17-
script: tox
17+
script: tox -- --no-cov

tox.ini

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,flake8
2+
envlist = flake8,py38
33
recreate=true
44

55
[testenv]
@@ -10,10 +10,9 @@ deps =
1010
pytest-timeout
1111

1212
commands =
13-
py.test \
13+
py.test {posargs: \
1414
--cov-report html:htmlcov/{envname} \
15-
--cov . \
16-
{posargs}
15+
--cov . }
1716

1817
[flake8]
1918
max-line-length = 120

0 commit comments

Comments
 (0)