1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-22 02:05:15 +00:00
MarlinFirmware/get_test_targets.py
Scott Lahteine 284cc8f4c0 🧑‍💻 Update Python indentation
2023-03-25 20:47:31 -05:00

13 lines
350 B
Python
Executable File

#!/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))