Enable testing gating with basic functional tests

epel9
Jan Staněk 5 years ago
parent 45c1c4f694
commit 989c8d85c2
No known key found for this signature in database
GPG Key ID: 2972F2037B243B6D

@ -0,0 +1,8 @@
--- !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}
...

@ -0,0 +1,16 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- uglify-js
tests:
# Check that the main binary can be run at all
- usable:
run: uglifyjs --version
# Check that a basic expression is correctly minified
- expression:
run: test "$(echo '1 + 1'|uglifyjs --expression)" = '1+1;'
...
Loading…
Cancel
Save