Commit 2efa91cb authored by Laurent Peuch's avatar Laurent Peuch
Browse files

ci: integrate pytest-deprecated-warnings

parent 68c3cd289133
Pipeline #36367 passed with stages
in 2 minutes and 55 seconds
......@@ -30,6 +30,9 @@ py27:
- pip install tox
script: tox -e py27
allow_failure: true # XXX
artifacts:
paths:
- py27-deprecated-warnings.json
py3:
stage: tests
......@@ -37,3 +40,6 @@ py3:
- apt update && apt -y install redis-server libpython3.7-dev
- pip install tox
script: tox -e py3
artifacts:
paths:
- py3-deprecated-warnings.json
......@@ -4,6 +4,7 @@ envlist = py27,py3,flake8,yamllint
[testenv]
deps =
-rtest-requirements.txt
git+https://github.com/psycojoker/pytest-capture-deprecatedwarnings
commands =
pifpaf run redis --port 6380 -- {envpython} -m pytest {posargs:test}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment