Commit 1bd6c33c authored by Pierre-Louis Bonicoli's avatar Pierre-Louis Bonicoli 🏗
Browse files

Merge branch 'test_with_py37' into 'master'

Test with Python 3.7 too

See merge request !5
parents 91825e5a fc635a20
......@@ -168,13 +168,13 @@ burp_clients:
# Functional tests
The tests require `tox` and either Docker or Kubernetes.
The tests require Python 3.7 or Python 3.8, `tox` and either Docker or Kubernetes.
## Docker
The following command allows to run the tests using Docker:
tox -e py38-ansible29-molecule-docker
tox -e py3-ansible29-molecule-docker
## Kubernetes
......@@ -186,8 +186,8 @@ The following command allows to run the tests using Docker:
With Kubernetes, the following command allows to run the tests:
tox -e py38-ansible29-molecule-k8s
tox -e py3-ansible29-molecule-k8s
The following command can be used in order to specify the path of the `kubeconfig` file:
KUBECONFIG=/path/to/kubeconfig.yaml TOX_TESTENV_PASSENV=KUBECONFIG tox -e py38-ansible29-molecule-k8s
KUBECONFIG=/path/to/kubeconfig.yaml TOX_TESTENV_PASSENV=KUBECONFIG tox -e py3-ansible29-molecule-k8s
[tox]
minversion = 3.9.0
envlist =
py38-ansible29-molecule-{docker,k8s}
py{37,38}-ansible29-molecule-{docker,k8s}
skipdist = True
skip_missing_interpreters = True
isolated_build = True
[testenv]
......
---
- job:
name: tox-py37-ansible29-molecule
parent: tox-pods # from gitlab.com/pilou-/zuul-project-config
timeout: 3600 # seconds
vars:
tox_envlist: py37-ansible29-molecule-k8s
tox_install_siblings: false
nodeset:
nodes:
- name: molecule
label: ansible-roles
- job:
name: tox-py38-ansible29-molecule
parent: tox-pods # from gitlab.com/pilou-/zuul-project-config
......@@ -14,4 +26,5 @@
- project:
check:
jobs:
- tox-py37-ansible29-molecule
- tox-py38-ansible29-molecule
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment