From 5fe4a39cc1b225a7c03df3a89502bdfdf1ca7761 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Thu, 15 Aug 2019 10:39:46 +0200 Subject: [PATCH] Add CI tests --- tests/.fmf/version | 1 + tests/provision.fmf | 5 +++++ tests/tests.yml | 31 +++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 tests/.fmf/version create mode 100644 tests/provision.fmf create mode 100644 tests/tests.yml diff --git a/tests/.fmf/version b/tests/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/tests/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/tests/provision.fmf b/tests/provision.fmf new file mode 100644 index 0000000..a0c05cd --- /dev/null +++ b/tests/provision.fmf @@ -0,0 +1,5 @@ +--- + +standard-inventory-qcow2: + qemu: + m: 3G diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..ba44447 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,31 @@ +--- +# No tests suitable for atomic environment +# No tests suitable for container environment +# Tests suitable for classic environment +- hosts: localhost + roles: + - role: standard-test-source + tags: + - always + + - role: standard-test-basic + tags: + - classic + tests: + - upstream_test_suite: + dir: source + run: python3 tests/run_tests.py --installed + + required_packages: + - volume_key + - nss-tools + - targetcli + - xfsprogs + - dosfstools + - e2fsprogs + - cryptsetup + - glibc-all-langpacks + - python3-six + - python3-dbus + - python3-yaml + - python3-bytesize