diff --git a/tests/tests.yml b/tests/tests.yml index ca6354b..e95fdd2 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,8 +1,29 @@ ---- +-- - hosts: localhost tags: - classic tasks: - - name: Print all available env variable - ansible.builtin.debug: - var: ansible_facts['env'] \ No newline at end of file + - dnf: + name: "*" + state: latest + +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - pytest: + dir: . + run: echo "{{ ansible_facts['env']['TEST_SUBJECTS'] }}" + - manual_byte_compilation: + dir: . + run: rpmbuild -ba pythontest.spec + required_packages: + - rpm-build + - python-rpm-macros + - python3-rpm-macros + - python3-devel + - python3-pytest + - python3.6 + - python2.7