thrnciar / tests / python

Forked from tests/python 4 years ago
Clone

Blame smoke/venv.fmf

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