python/smoke/main.fmf
Petr Šplíchal 4369d46463 Enable a simple python-3.11 plan
Demonstrates how the `environment` key can be used for setting
a common environment variable for the whole plan.
2022-06-22 15:22:21 +02:00

44 lines
1.1 KiB
Text

summary: Basic smoke test for virtualenv
description: |
Check basic functionality of Python virtual environments (venv
or virtualenv based). The test supports different python
versions & implementations including pypy and jython.
The following steps are performed:
* Create virtual environment
* Activate virtual environment
* Install pip, pytest and Cython
* Create and test a simple module
* Check we can do extension modules
* Ensure we can test with the tox tool
Use the following environment variables to adjust what
should be tested (default values listed first):
* VERSION ... python version (3.7, 3.6, 2.7, 2.6)
* PYTHON ... implementation (python${VERSION}, pypy, pypy3, jython)
* METHOD ... virtual environment creation method (venv, virtualenv)
* TOX ... enable or disable the tox test (true, false)
test: ./venv.sh
environment:
CYTHON: "false"
duration: 10m
tier: 1
tag:
- venv
component+:
- python3
- python310
- python311
- pypy
- pypy3
- jython
- python-pip
- python-wheel
- python-setuptools
- python-virtualenv
- python-tox