Initial example of the Flexible Metadata Format

This commit is contained in:
Petr Šplíchal 2018-09-18 12:17:36 +02:00
commit 7c561e2e11
3 changed files with 40 additions and 0 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

2
main.fmf Normal file
View file

@ -0,0 +1,2 @@
contact: Petr Šplíchal <psplicha@redhat.com>
component: [python]

37
smoke/venv.fmf Normal file
View file

@ -0,0 +1,37 @@
summary: Basic smoke test for virtualenv
description: |
Check basic functionality of the virtualenv module. The
test supports different python versions & implementations
including pypy and jython.
The following steps are performed:
* Create virtual environment
* Activate virtual environment
* Install pip and Cython in it
* 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 (python3.7, pypy, jython)
* METHOD ... virtualenv implementation (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+:
- pypy
- jython