You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
471 B
15 lines
471 B
#!/usr/bin/env python |
|
""" |
|
Extract the builds used in Github CI, so that we can run them locally |
|
""" |
|
import yaml |
|
|
|
# Set the yaml file to parse |
|
yaml_file = '.github/workflows/test-builds.yml' |
|
|
|
# Parse the yaml file, and load it into a dictionary (github_configuration) |
|
with open(yaml_file) as f: |
|
github_configuration = yaml.safe_load(f) |
|
|
|
# Print out the test platforms |
|
print(' '.join(github_configuration['jobs']['test_builds']['strategy']['matrix']['test-platform']))
|
|
|