Add CI tests using the standard test interface
Adding initial set of basic functionality tests for ksh according to the CI wiki [1] and the Standard Test Interface [2]. Instead of copying the test code this pull request links tests from the new shared shell tests repo and fetches them using the "repositories" option [3]. [1] https://fedoraproject.org/wiki/CI [2] https://fedoraproject.org/wiki/Changes/InvokingTests [3] https://pagure.io/standard-test-roles/pull-request/101
This commit is contained in:
parent
c6131c4a2f
commit
66b6dfc61c
41
tests/tests.yml
Normal file
41
tests/tests.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
# Tests that run in classic context
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
repositories:
|
||||||
|
- repo: "https://src.fedoraproject.org/tests/shell.git"
|
||||||
|
dest: "shell"
|
||||||
|
tests:
|
||||||
|
- shell/func
|
||||||
|
- shell/login
|
||||||
|
- shell/smoke
|
||||||
|
environment:
|
||||||
|
PACKAGES: ksh
|
||||||
|
SH_BIN: ksh
|
||||||
|
required_packages:
|
||||||
|
- ksh
|
||||||
|
- expect # login requires expect
|
||||||
|
- which # smoke requires which
|
||||||
|
|
||||||
|
# Tests that run in container
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- container
|
||||||
|
repositories:
|
||||||
|
- repo: "https://src.fedoraproject.org/tests/shell.git"
|
||||||
|
dest: "shell"
|
||||||
|
tests:
|
||||||
|
- shell/func
|
||||||
|
- shell/smoke
|
||||||
|
environment:
|
||||||
|
PACKAGES: ksh
|
||||||
|
SH_BIN: ksh
|
||||||
|
required_packages:
|
||||||
|
- ksh
|
||||||
|
- which # smoke requires which
|
Loading…
Reference in New Issue
Block a user