mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-03-26 21:33:02 +00:00
Move integration test suite from molecule to ansible-test (#392)
Move integration test suite from molecule to ansible-test SUMMARY molecule has been replaced with ansible-test some test cases have been updated k8s_apply : remove duplicated tasks increasing the running time of the test helm: use different namespaces for different test cases in order to wait for the namespace deletion before moving to the next test. all: remove wait: yes at the end of each test when deleting namespace, the role used to create namespace will ensure that it is deleted before if existing. ISSUE TYPE Feature Pull Request COMPONENT NAME integration testing Reviewed-by: Mike Graves <mgraves@redhat.com> Reviewed-by: Gonéri Le Bouder <goneri@lebouder.net> Reviewed-by: None <None>
This commit is contained in:
17
tox.ini
17
tox.ini
@@ -2,21 +2,6 @@
|
||||
minversion = 1.4.2
|
||||
skipsdist = True
|
||||
|
||||
[testenv:molecule]
|
||||
install_command = pip install {opts} {packages}
|
||||
|
||||
deps = ansible
|
||||
kubernetes
|
||||
molecule<3.3.0
|
||||
yamllint
|
||||
flake8
|
||||
|
||||
passenv =
|
||||
HOME
|
||||
|
||||
commands=
|
||||
{posargs}
|
||||
|
||||
[testenv:integration]
|
||||
install_command = pip install {opts} {packages}
|
||||
|
||||
@@ -28,7 +13,7 @@ passenv =
|
||||
HOME
|
||||
|
||||
commands=
|
||||
ansible-test integration --docker -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
|
||||
ansible-test integration -v --color --retry-on-error --diff --coverage --continue-on-error --python {posargs}
|
||||
|
||||
[testenv:add_docs]
|
||||
deps = git+https://github.com/ansible-network/collection_prep
|
||||
|
||||
Reference in New Issue
Block a user