Skip to content

Commit

Permalink
Test Windows 2012+ using Azure by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclay committed Jan 30, 2018
1 parent 7fa0939 commit 3b0dcf7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/runner/lib/core_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def __init__(self, args, platform, version, stage='prod', persist=True, load=Tru
azure=(
'azure',
'rhel',
'windows/2012',
'windows/2012-R2',
'windows/2016',
),
parallels=(
'osx',
Expand All @@ -88,6 +91,11 @@ def __init__(self, args, platform, version, stage='prod', persist=True, load=Tru
# assign default provider based on platform
self.provider = candidate
break
for candidate in providers:
if '%s/%s' % (platform, version) in providers[candidate]:
# assign default provider based on platform and version
self.provider = candidate
break

if self.provider in ('aws', 'azure'):
if self.provider != 'aws':
Expand Down

0 comments on commit 3b0dcf7

Please sign in to comment.