mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Only run macOS specific functional/integration tests while we're not running on our images
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
cdfe825890
commit
0192f6e511
1 changed files with 3 additions and 0 deletions
|
@ -1053,6 +1053,9 @@ def _ci_test(session, transport):
|
|||
if session.posargs[0] == "--":
|
||||
session.posargs.pop(0)
|
||||
chunk_cmd.extend(session.posargs)
|
||||
else:
|
||||
if CI_RUN and IS_DARWIN and chunk in ("functional", "integration"):
|
||||
chunk_cmd.extend(["-k", "mac or darwin"])
|
||||
else:
|
||||
chunk_cmd = [chunk] + session.posargs
|
||||
junit_report_filename = "test-results"
|
||||
|
|
Loading…
Add table
Reference in a new issue