Configure gating tests
This commit is contained in:
parent
86fc1f0c7b
commit
34b4decb9c
15
gating.yaml
Normal file
15
gating.yaml
Normal file
@ -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}
|
||||
20
tests/tests.yml
Normal file
20
tests/tests.yml
Normal file
@ -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/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user