| |
@@ -18,4 +18,27 @@
|
| |
* **required_services**: A list of services to be started before running tests.
|
| |
Please use `required_packages` for specifying packages that provide the services.
|
| |
|
| |
- Check `glib2` package tests to find examples for using this role.
|
| |
+ Example usage:
|
| |
+
|
| |
+ - hosts: localhost
|
| |
+ roles:
|
| |
+ - role: standard-test-basic
|
| |
+ tags:
|
| |
+ - classic
|
| |
+ repositories:
|
| |
+ - repo: "https://src.fedoraproject.org/tests/python.git"
|
| |
+ dest: "python"
|
| |
+ tests:
|
| |
+ - smoke27:
|
| |
+ dir: python/smoke
|
| |
+ run: VERSION=2.7 METHOD=virtualenv ./venv.sh
|
| |
+ - smoke37:
|
| |
+ dir: python/smoke
|
| |
+ run: VERSION=3.7 ./venv.sh
|
| |
+ required_packages:
|
| |
+ - python27
|
| |
+ - python37
|
| |
+ - python2-virtualenv
|
| |
+ - python3-virtualenv
|
| |
+ - python2-devel
|
| |
+ - python3-devel
|
| |