psss / tests / python

Forked from tests/python 5 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
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
39462fb
39462fb
require:
39462fb
    - gcc
39462fb
    - virtualenv
39462fb
    - python3-devel
39462fb
    - python3-tox
39462fb
39462fb
/python27:
39462fb
    require+:
39462fb
      - python27
39462fb
      - python2-devel
39462fb
    environment:
39462fb
        VERSION: 2.7
39462fb
        METHOD: virtualenv
39462fb
39462fb
/python34:
39462fb
    require+:
39462fb
      - python34
39462fb
    environment:
39462fb
        VERSION: 3.4
39462fb
39462fb
/python35:
39462fb
    require+:
39462fb
      - python35
39462fb
    environment:
39462fb
        VERSION: 3.5
39462fb
39462fb
/python36:
39462fb
    require+:
39462fb
      - python36
39462fb
    environment:
39462fb
        VERSION: 3.6
39462fb
39462fb
/python37:
39462fb
    require+:
39462fb
      - python37
39462fb
    environment:
39462fb
        VERSION: 3.7
39462fb
39462fb
/python38:
39462fb
    require+:
39462fb
      - python38
39462fb
    environment:
39462fb
        VERSION: 3.8
39462fb
39462fb
/python39:
39462fb
    require+:
39462fb
      - python39
39462fb
    environment:
39462fb
        VERSION: 3.9