parted/tests/tests.yml
Brian C. Lane e4f4556ff6 - Run the CI tests using rpmbuild
- t6000-dm: Stop using private lvm root
2019-03-01 10:45:52 -08:00

34 lines
684 B
YAML

---
# Run parted's tests by rebuilding the rpm and running the %check section
- hosts: localhost
vars:
package: parted
tenv_workdir: "/tmp/workdir"
tags:
- classic
tasks:
- name: Copy the spec file over to the workdir
copy:
src: "{{ playbook_dir }}/../{{ package }}.spec"
dest: "{{ tenv_workdir }}/"
- hosts: localhost
vars:
tenv_workdir: "/tmp/workdir"
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- dnf
- rpm-build
tests:
- simple:
run: "./run_tests.sh {{ tenv_workdir }}"