Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 9168ab32 authored by JONGLEZ Baptiste's avatar JONGLEZ Baptiste
Browse files

Merge branch 'update_ci' into 'main'

Update CI

See merge request !2
parents 97221d6a 01d309b0
No related branches found
No related tags found
1 merge request!2Update CI
Pipeline #1029384 passed
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/python/tags/
image: python:3.9
python3.11:
stage: test
tags: [ci.inria.fr]
image: python:3.11
script:
- pip install tox
- tox -e py311
before_script:
- pip install tox
python3.10:
stage: test
tags: [ci.inria.fr]
image: python:3.10
script:
- pip install tox
- tox -e py310
python3.6:
python3.9:
stage: test
tags: [qlf-ci.inria.fr]
tags: [ci.inria.fr]
image: python:3.9
script:
- pip install tox
- tox -e py39
pep8:
stage: test
tags: [qlf-ci.inria.fr]
tags: [ci.inria.fr]
image: python:3.9
script:
- pip install tox
- tox -e pep8
#### Entering the release zone
pages:
stage: deploy
tags: [qlf-ci.inria.fr]
tags: [ci.inria.fr]
image: python:3.9
only:
- tags
script:
......@@ -35,7 +48,8 @@ pages:
pypi:
stage: deploy
tags: [qlf-ci.inria.fr]
tags: [ci.inria.fr]
image: python:3.9
only:
- tags
script:
......
flake8>=3.3.0
sphinx>=1.6.0
sphinx-rtd-theme>=0.2.4
pytest
[tox]
skipsdist = True
envlist = py39, flake8
envlist = py39, py310, py311, pep8, docs
[testenv]
whitelist_externals = make
deps = -r{toxinidir}/test-requirements.txt
deps =
pytest
commands =
/bin/rm -rf build
python setup.py bdist_wheel
pip install --upgrade --find-links={toxinidir}/dist enos_kubernetes
py.test {toxinidir}/enos_kubernetes/tests/unit
pytest --pyargs {toxinidir}/enos_kubernetes {posargs}
usedevelop = True
[testenv:pep8]
deps =
flake8>=3.3.0
skip_install = true
basepython = python
changedir= enos_kubernetes
commands = flake8
deps = flake8
distribute = false
[testenv:docs]
whitelist_externals = make
deps =
sphinx>=1.6.0
sphinx-rtd-theme>=0.2.4
changedir = docs/
commands =
make clean
......@@ -35,4 +38,4 @@ commands =
ignore = E121,E122,E123,E124,E125,E127,E128,E129,E131,E241,H405,F821
show-source = true
exclude = venv,.git,.tox,dist,*egg,ansible,tests
max-line-length = 88
\ No newline at end of file
max-line-length = 88
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment