From 4584443b88ea12dc089be78a6637a2b44f1a6b6c Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Jul 20 2018 14:03:25 +0000 Subject: Include test.yml example for the basic test role --- diff --git a/roles/standard-test-basic/README.md b/roles/standard-test-basic/README.md index 9151c0a..6541a93 100644 --- a/roles/standard-test-basic/README.md +++ b/roles/standard-test-basic/README.md @@ -18,4 +18,27 @@ to run testing. You can redefine the following variables in * **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