mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -07:00
Support skip of platforms by version in tests. (#48826)
* Support skip of platforms by version in tests. Previously a remote platform could be skipped completely using the alias: `skip/{platform}` such as `skip/rhel` Now a specific platform version can be skipped using the alias: `skip/{platform}{version}` such as `skip/rhel7.6` This feature is available for platforms specified with the `--remote` option. * Add skip by version to the docs.
This commit is contained in:
parent
9af5724bd4
commit
8066acc90c
2 changed files with 12 additions and 0 deletions
|
@ -44,6 +44,11 @@ Aliases can be used to skip platforms using one of the following:
|
|||
- ``skip/rhel`` - Skip tests on RHEL.
|
||||
- ``skip/docker`` - Skip tests when running on a Docker container
|
||||
|
||||
Platform versions, as specified using the ``--remote`` option with ``/`` removed, can also be skipped:
|
||||
|
||||
- ``skip/freebsd11.1`` - Skip tests on FreeBSD 11.1.
|
||||
- ``skip/rhel7.6`` - Skip tests on RHEL 7.6.
|
||||
|
||||
Aliases can be used to skip Python major versions using one of the following:
|
||||
|
||||
- ``skip/python2`` - Skip tests on Python 2.x.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue