2020-11-18 03:04:28 +01: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 18:00:52 +02:00
|
|
|
github_configuration = yaml.safe_load(f)
|
2020-11-18 03:04:28 +01:00
|
|
|
test_platforms = github_configuration\
|
2022-08-19 18:00:52 +02:00
|
|
|
['jobs']['test_builds']['strategy']['matrix']['test-platform']
|
2020-11-18 03:04:28 +01:00
|
|
|
print(' '.join(test_platforms))
|