aboutsummaryrefslogtreecommitdiff
path: root/get_test_targets.py
blob: ce2080eba0166de14738ad414e3e71d710d012f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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:
	github_configuration = yaml.safe_load(f)
test_platforms = github_configuration\
	['jobs']['test_builds']['strategy']['matrix']['test-platform']
print(' '.join(test_platforms))