Commit Graph

5 Commits

Author SHA1 Message Date
Martin Pitt
a8bd80a41a tests.yml: Fix tags
"always" is not a thing in the current spec [1].

[1] https://docs.fedoraproject.org/en-US/ci/standard-test-interface/#_invocation
2020-07-15 13:51:30 +02:00
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
Martin Pitt
1d5f8f120c tests: Run as unprivileged user
Approach taken from cockpit:
https://src.fedoraproject.org/rpms/cockpit/c/6d1be3eb74
2020-04-29 07:49:57 +02:00
Martin Pitt
d6da8e6a37 tests: Fix for running in RHEL
* Generalize setting of $TEST_OS
 * chromium-headless is not in RHEL 8, install it from EPEL.
2020-04-28 10:40:37 +02:00
Martin Pitt
70257534e1 Add initial upstream integration test
Re-use the test skeleton from cockpit. Just run a single integration
test for now, until we make them properly @nondestructive upstream [1].

Run chromium and the test directly on the test bed. For cockpit-podman
tests it's not practical to run them in a cockpit/tasks podman
container, as that container interferes too much with the tests.

[1] https://github.com/cockpit-project/cockpit-podman/pull/356
2020-04-15 22:20:39 +02:00