Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
celerytask
Commits
ba949293ca80
Commit
2efa91cb
authored
Feb 22, 2021
by
Laurent Peuch
Browse files
ci: integrate pytest-deprecated-warnings
parent
68c3cd289133
Pipeline
#36367
passed with stages
in 2 minutes and 55 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ba949293
...
...
@@ -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
tox.ini
View file @
ba949293
...
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment