Add CI tests

This commit is contained in:
Vojtech Trefny 2019-08-15 10:39:46 +02:00
parent 80bac6f83a
commit 5fe4a39cc1
3 changed files with 37 additions and 0 deletions

1
tests/.fmf/version Normal file
View File

@ -0,0 +1 @@
1

5
tests/provision.fmf Normal file
View File

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
m: 3G

31
tests/tests.yml Normal file
View File

@ -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