#6 Add CI tests using the standard test interface
Merged 3 years ago by mhonek. Opened 3 years ago by vashirov.
rpms/ vashirov/389-ds-base master  into  master

file added
+27
@@ -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