diff --git a/.gitignore b/.gitignore index c2cdc02..962fcf9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -SOURCES/rpmfluff-0.5.7.1.tar.xz /rpmfluff-0.5.7.1.tar.xz diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100755 index 0000000..2ff210e --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash +set -eux +python3 /usr/lib/python3.6/site-packages/rpmfluff.py diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..acf0d06 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,16 @@ +--- +# Run a simple test +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + + required_packages: + - python36 + - gcc + + tests: + - simple: + dir: scripts + run: ./run_tests.sh