From 2e958087b4f165ac3fb8463630b9d98cac3cd601 Mon Sep 17 00:00:00 2001 From: David Lehman Date: Fri, 7 Dec 2018 12:22:53 -0500 Subject: [PATCH] Add a basic test for CI. --- tests/tests.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/tests.yml diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..eb5c51b --- /dev/null +++ b/tests/tests.yml @@ -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"]