mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-19 04:37:49 -06:00
🔨 Improve Docker local tests support (#25583)
This commit is contained in:
parent
93eeee2230
commit
54e29d75d7
6 changed files with 66 additions and 66 deletions
15
scripts/get_test_targets.py
Normal file
15
scripts/get_test_targets.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/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']))
|
Loading…
Add table
Add a link
Reference in a new issue