summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-09-30 15:36:48 +0200
committerLaurent Peuch <cortex@worlddomination.be>2020-09-30 15:36:48 +0200
commit34e17836ea4c00f200941a07d0b50147b061dd12 (patch)
treeefebd3e3a5b565e699e2e44ecf2a7992c3645a63
parentcc6c814c68284dd5bd64823b6c60a844eb9c2ec4 (diff)
downloadlogilab-common-34e17836ea4c00f200941a07d0b50147b061dd12.tar.gz
ci: add pytest-capture-deprecatedwarnings
-rw-r--r--.gitlab-ci.yml3
-rw-r--r--tox.ini1
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f01b03..f4b51cd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,9 @@ before_script:
py3:
stage: tests
script: tox -e py3
+ artifacts:
+ paths:
+ - py3-deprecated-warnings.json
flake8:
stage: tests
diff --git a/tox.ini b/tox.ini
index a512e5e..3f714b9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,6 +5,7 @@ envlist=py3,check-manifest,mypy,flake8,black,black-run
deps =
pytz
pytest == 5.4.1
+ git+https://github.com/Psycojoker/pytest-capture-deprecatedwarnings
commands=
{envpython} -m pytest test {posargs}