diff --git a/tests/tests.yml b/tests/tests.yml index cfd9123..aab2c27 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -8,16 +8,25 @@ state: latest - hosts: localhost + tags: + - classic + pre_tasks: + - import_role: + name: standard-test-source + vars: + fetch_only: True + roles: - role: standard-test-basic - tags: - - classic repositories: - repo: "https://src.fedoraproject.org/tests/python.git" dest: "python" - repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git" dest: "pyproject-rpm-macros" tests: + - rpmbuild: + dir: . + run: "dnf -y build-dep --define '_with_internet 1' {{ tenv_workdir }}/python-tox.spec && rpmbuild --define '_sourcedir {{ tenv_workdir }}' --with internet -ba {{ tenv_workdir }}/python-tox.spec" - smoke27: dir: python/smoke run: VERSION=2.7 METHOD=virtualenv ./venv.sh @@ -61,6 +70,7 @@ - python2-devel - python3-devel - python3-tox + - dnf - mock - rpmdevtools - rpm-build