#2 Enable testing gating with basic functional tests
Closed a month ago by jstanek. Opened a month ago by jstanek.
Unknown source private/pr/gating  into  master

file added
+8

@@ -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}

+ ...

file added
+13

@@ -0,0 +1,13 @@

+ ---

+ - hosts: localhost

+   roles:

+     - role: standard-test-basic

+       tags: [classic]

+       required_packages:

+         - uglify-js

+       tests:

+         - installed:

+             run: uglifyjs --version

+         - expression:

+             run: test "$(echo '1 + 1'|uglifyjs --expression)" = '1+1;'

+ ...

This is an experimental PR that should enable Fedora CI tests and gate updates to testing behind them. The tests are very basic – just that the package is successfully installed and that a simple expression can be minimized.

The tests pass on my machine, but I did not yet figure out a way to test the setup with the CI – I'm hoping that the CI will pick the tests included here, and run them. Future adjustment to the YAML files might be necessary to get this actually right.

1 new commit added

  • fixup! Enable testing gating with basic functional tests
a month ago

I accidentally deleted my fork, so I cannot update this PR any more. Let me close this and open a new, proper one.

Pull-Request has been closed by jstanek

a month ago