Initial example of the Flexible Metadata Format
This commit is contained in:
parent
c56363e23a
commit
8ddab88d43
3 changed files with 54 additions and 0 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
1
|
||||||
4
main.fmf
Normal file
4
main.fmf
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
contact:
|
||||||
|
- Petr Šplíchal <psplicha@redhat.com>
|
||||||
|
- Miro Hrončok <mhroncok@redhat.com>
|
||||||
|
component: [python]
|
||||||
49
smoke/venv.fmf
Normal file
49
smoke/venv.fmf
Normal file
|
|
@ -0,0 +1,49 @@
|
||||||
|
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)
|
||||||
|
|
||||||
|
path: smoke
|
||||||
|
test: ./venv.sh
|
||||||
|
|
||||||
|
tier: 1
|
||||||
|
tags: [venv]
|
||||||
|
|
||||||
|
environment:
|
||||||
|
VERSION: 3.7
|
||||||
|
METHOD: venv
|
||||||
|
TOX: true
|
||||||
|
duration: 10m
|
||||||
|
component+:
|
||||||
|
- python2
|
||||||
|
- python26
|
||||||
|
- python3
|
||||||
|
- python34
|
||||||
|
- python35
|
||||||
|
- python36
|
||||||
|
- pypy
|
||||||
|
- pypy3
|
||||||
|
- jython
|
||||||
|
- python-pip
|
||||||
|
- python-wheel
|
||||||
|
- python-setuptools
|
||||||
|
- python-virtualenv
|
||||||
|
- python-tox
|
||||||
Loading…
Add table
Add a link
Reference in a new issue