speed up azure jobs
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
1f6de3d703
commit
9eb0d699ec
|
@ -13,15 +13,12 @@ resources:
|
|||
ref: refs/tags/v0.0.8
|
||||
|
||||
jobs:
|
||||
- template: job--pre-commit.yml@asottile
|
||||
- template: job--python-tox.yml@asottile
|
||||
parameters:
|
||||
toxenvs: [py27, py37]
|
||||
os: windows
|
||||
pre_test:
|
||||
- script: git lfs
|
||||
- template: job--python-tox.yml@asottile
|
||||
parameters:
|
||||
toxenvs: [pypy, py27, py36, py37]
|
||||
toxenvs: [pypy, pypy3, py27, py36, py37]
|
||||
os: linux
|
||||
pre_test:
|
||||
- script: git lfs
|
||||
|
|
10
tox.ini
10
tox.ini
|
@ -1,5 +1,5 @@
|
|||
[tox]
|
||||
envlist = py27,py36,py37,pypy3
|
||||
envlist = py27,py36,py37,pypy,pypy3,pre-commit
|
||||
|
||||
[testenv]
|
||||
deps = -rrequirements-dev.txt
|
||||
|
@ -12,8 +12,12 @@ commands =
|
|||
coverage erase
|
||||
coverage run -m pytest {posargs:tests}
|
||||
coverage report --fail-under 100
|
||||
pre-commit install -f --install-hooks
|
||||
pre-commit run --all-files
|
||||
pre-commit install
|
||||
|
||||
[testenv:pre-commit]
|
||||
skip_install = true
|
||||
deps = pre-commit
|
||||
commands = pre-commit run --all-files --show-diff-on-failure
|
||||
|
||||
[pep8]
|
||||
ignore=E265,E501,W504
|
||||
|
|
Loading…
Reference in New Issue