cockpit-podman/tests/roles/test/tasks/main.yml
Martin Pitt 2f8be1898a Move the test into a role
So that it can be called from the container-tools module without
duplication. For technical reasons this requires calling the test entry
script from a different directory, so parameterize it.

Rename the test from "browser" to "cockpit-podman" so that it is
more descriptive within a module test.

Drop the TEST_OS hack, tests of current version recognizes RHEL 8.3 just
fine (and in fact depends on it).

Related: rhbz#1821193
2020-05-19 12:49:41 +02:00

21 lines
398 B
YAML

---
- include_role:
name: standard-test-source
- include_role:
name: standard-test-basic
vars:
required_packages:
- cockpit-podman
- cockpit-ws
- git
- libvirt-python3
- make
- npm
- python3
tests:
- cockpit-podman:
dir: .
run: "{{ test_script_dir | default('.') }}/browser.sh"
save-files: ["logs/*"]