Update tests/tests.yml

This commit is contained in:
Aleksandra Fedorova 2022-06-30 12:23:06 +00:00
parent 116a6c886a
commit f15508286b
1 changed files with 25 additions and 4 deletions

View File

@ -1,8 +1,29 @@
---
--
- hosts: localhost
tags:
- classic
tasks:
- name: Print all available env variable
ansible.builtin.debug:
var: ansible_facts['env']
- 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