3a71508af5
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/libsepol/pull-request/1
17 lines
334 B
YAML
17 lines
334 B
YAML
---
|
|
# Tests that run in all contexts
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-beakerlib
|
|
tags:
|
|
- classic
|
|
- container
|
|
tests:
|
|
- sepol_check_context
|
|
required_packages:
|
|
- gcc
|
|
- libsepol-devel
|
|
- policycoreutils
|
|
- selinux-policy-devel
|
|
- findutils # beakerlib needs find command
|