From ee69ebabafe11f3b5621d31f268a14ca88df69ff Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 18:26:08 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .gitignore | 1 - gating.yaml | 6 ++++++ tests/scripts/run_tests.sh | 3 +++ tests/tests.yml | 16 ++++++++++++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 gating.yaml create mode 100755 tests/scripts/run_tests.sh create mode 100644 tests/tests.yml 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