From dc1ec3a11779f46bb6a801c75a7de48cf84e9e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pl=C3=ADchal?= Date: Wed, 10 Jun 2020 16:35:49 +0200 Subject: [PATCH] Create virtual test for each supported python --- smoke/venv.fmf | 64 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/smoke/venv.fmf b/smoke/venv.fmf index 91fee9d..2ea9e31 100644 --- a/smoke/venv.fmf +++ b/smoke/venv.fmf @@ -21,16 +21,11 @@ description: | * METHOD ... virtual environment creation method (venv, virtualenv) * TOX ... enable or disable the tox test (true, false) -path: smoke test: ./venv.sh tier: 1 -tags: [venv] +tag: [venv] -environment: - VERSION: 3.7 - METHOD: venv - TOX: true duration: 10m component+: - python2 @@ -46,4 +41,59 @@ component+: - python-wheel - python-setuptools - python-virtualenv - - python-tox + +require: + - gcc + - virtualenv + - python3-devel + - python3-tox + +/python27: + require+: + - python27 + - python2-devel + environment: + VERSION: 2.7 + METHOD: virtualenv + +/python34: + require+: + - python34 + environment: + VERSION: 3.4 + +/python35: + require+: + - python35 + environment: + VERSION: 3.5 + +/python36: + require+: + - python36 + environment: + VERSION: 3.6 + +/python37: + require+: + - python37 + environment: + VERSION: 3.7 + component+: + - python-tox + +/python38: + require+: + - python38 + environment: + VERSION: 3.8 + component+: + - python-tox + +/python39: + require+: + - python39 + environment: + VERSION: 3.9 + component+: + - python-tox