1
mirror of https://github.com/valentineus/kp3s-lgvl.git synced 2025-04-28 01:31:23 +03:00
kp3s-lgvl/get_test_targets.py

13 lines
344 B
Python
Raw Normal View History

2021-03-04 22:54:23 +05: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:
github_configuration = yaml.safe_load(f)
test_platforms = github_configuration\
['jobs']['test_builds']['strategy']['matrix']['test-platform']
print(' '.join(test_platforms))