diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..4643f2f --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,27 @@ +--- +- hosts: localhost + remote_user: root + vars: + ds_repo_url: https://pagure.io/389-ds-base.git + ds_repo_dir: ds + ds_tests: "{{ ds_repo_dir }}/dirsrvtests/tests" + pytest: py.test-3 + pytest_args: "-v --continue-on-collection-errors" + pytest_tests: "suites/basic" + artifacts: ./artifacts + roles: + - role: standard-test-basic + tags: + - classic + repositories: + - repo: "{{ ds_repo_url }}" + dest: "{{ ds_repo_dir }}" + tests: + - basic: + dir: "{{ ds_tests }}" + run: "{{ pytest }} {{ pytest_args }} {{ pytest_tests }}" + required_packages: + - python3-pytest + - 389-ds-base + - 389-ds-base-snmp + - 389-ds-base-legacy-tools