Add a basic test for CI.

This commit is contained in:
David Lehman 2018-12-07 12:22:53 -05:00
parent 0dceac95ac
commit 2e958087b4

17
tests/tests.yml Normal file
View File

@ -0,0 +1,17 @@
---
- hosts: all
roles:
- role: standard-test-basic
tags:
- classic
tests:
- list-devices:
dir: /usr/share/doc/python3-blivet/examples
run: python3 ./list_devices.py
- name: copy out blivet logs
fetch:
dest: "{{ artifacts }}"
src: "{{ item }}"
flat: yes
loop: ["/tmp/blivet.log", "/tmp/program.log"]