sysfsutils/tests/tests.yml
Chris White 2ce706da90 Renamed tests/tests.yaml to tests/test.yml
- There are issues with the tier0 tests not kicking off. Renamed
  the tests/test.yaml to tests/test.yml to match the format of
  other packages format.

Resolves: rhbz#1975886
Signed-off-by: Chris White <chwhite@redhat.com>
2021-08-17 00:33:55 +00:00

49 lines
858 B
YAML

---
- hosts: localhost
tags:
- classic
tasks:
- name: Add executor host
add_host:
name: executor
ansible_connection: local
ansible_host: 127.0.0.1
ansible_ssh_connection: local
- name: Install build requires
delegate_to: executor
shell: dnf -y install autoconf automake
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-source
- hosts: localhost
tags:
- classic
tasks:
- name: Copy spec file to remote machine
copy:
src: "{{ playbook_dir }}/../sysfsutils.spec"
dest: /tmp/sysfsutils.spec
- name: Install build deps
shell: dnf -y build-dep /tmp/sysfsutils.spec
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
tests:
- smoke
required_packages:
- gcc
- sed
- make
- gawk
- autoconf
- m4