From 34b4decb9c077ca435d10f03c08aa63817cf2ff9 Mon Sep 17 00:00:00 2001 From: Vendula Poncova Date: Fri, 4 Sep 2020 12:59:43 +0200 Subject: [PATCH] Configure gating tests --- gating.yaml | 15 +++++++++++++++ tests/tests.yml | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 gating.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..f075ad7 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,15 @@ +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_testing +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +--- !Policy +product_versions: + - fedora-* +decision_context: bodhi_update_push_stable +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..5ee9e83 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,20 @@ +- hosts: localhost + roles: + - role: standard-test-source + tags: + - classic + - role: standard-test-basic + tags: + - classic + required_packages: + - python3 + - python3-dasbus + - dbus-daemon + tests: + - smoke_test: + dir: . + run: python3 -c "import dasbus" + - unit_tests: + dir: . + run: python3 -m unittest discover -v -s ./source/tests/ +