2020-11-17 20:04:28 -06:00
|
|
|
#!/usr/bin/env python
|
|
|
|
"""
|
|
|
|
Extract the builds used in Github CI, so that we can run them locally
|
|
|
|
"""
|
|
|
|
import yaml
|
|
|
|
|
|
|
|
|
|
|
|
with open('.github/workflows/test-builds.yml') as f:
|
2022-08-19 11:00:52 -05:00
|
|
|
github_configuration = yaml.safe_load(f)
|
2020-11-17 20:04:28 -06:00
|
|
|
test_platforms = github_configuration\
|
2022-08-19 11:00:52 -05:00
|
|
|
['jobs']['test_builds']['strategy']['matrix']['test-platform']
|
2020-11-17 20:04:28 -06:00
|
|
|
print(' '.join(test_platforms))
|