Marlin/buildroot/share/make/get_test_targets.py
ellensp a595c48526
Some checks are pending
CI - Build Tests / Build Test (push) Waiting to run
CI - Unit Tests / Unit Test (push) Waiting to run
CI - Validate Source Files / Validate Source Files (push) Waiting to run
🔨 Pins 'find.py' script for Windows (#28195)
2025-12-22 14:41:21 +00:00

15 lines
474 B
Python

#!/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/ci-build-tests.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']))