minishift/minishift-b2d-iso

Update tests to be run in macOS

coolbrg opened this issue · 1 comments

Currently, the tests are only able to run in Linux as we are downloading only linux binary here

OS = os.getenv('OS', 'linux')
def main():
pattern = re.compile(".*%s-amd64.(tgz|zip)$" % OS)
r = requests.get('https://api.github.com/repos/minishift/minishift/releases/latest')
for asset in r.json()['assets']:
if pattern.match(asset['name']):
print asset['browser_download_url']

Resolved via #78