mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-13 13:02:01 +00:00
[backport/2.1] molecule to ansible-test CI migration (#398)
integration testing migration from molecule to ansible-test
This commit is contained in:
28
tox.ini
Normal file
28
tox.ini
Normal file
@@ -0,0 +1,28 @@
|
||||
[tox]
|
||||
minversion = 1.4.2
|
||||
skipsdist = True
|
||||
|
||||
[testenv:integration]
|
||||
install_command = pip install {opts} {packages}
|
||||
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
https://github.com/ansible/ansible/archive/devel.tar.gz
|
||||
|
||||
passenv =
|
||||
HOME
|
||||
|
||||
commands=
|
||||
ansible-test integration --docker -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
|
||||
|
||||
[testenv:linters]
|
||||
deps =
|
||||
yamllint
|
||||
flake8
|
||||
|
||||
commands =
|
||||
yamllint -s {toxinidir}
|
||||
flake8 {toxinidir}
|
||||
|
||||
[flake8]
|
||||
exclude = .git,.tox,tests/output
|
||||
Reference in New Issue
Block a user