Commit Graph

3 Commits

Author SHA1 Message Date
Petr Lautrbach ec0a79526f Use shared repository for tests
https://fedoraproject.org/wiki/CI/Share_Test_Code
2018-02-14 17:44:50 +01:00
rasibley 17e01d10f0 swap out mktemp with coreutils in yaml file, otherwise requirement will fail to intall 2018-01-13 16:22:35 -05:00
Bruno Goncalves ba7a17bc80 Add CI tests using the standard test interface
The following steps are used to execute the tests using the standard test interface:

Docker

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS=docker:docker.io/library/fedora:26 TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags container tests.yml

Classic

    sudo ANSIBLE_INVENTORY=$(test -e inventory && echo inventory || echo /usr/share/ansible/inventory) TEST_SUBJECTS="" TEST_ARTIFACTS=$PWD/artifacts ansible-playbook --tags classic tests.yml

https://src.fedoraproject.org/rpms/checkpolicy/pull-request/1
2017-10-31 21:13:51 +01:00