get_test_targets.py 350 B

123456789101112
  1. #!/usr/bin/env python
  2. """
  3. Extract the builds used in Github CI, so that we can run them locally
  4. """
  5. import yaml
  6. with open('.github/workflows/test-builds.yml') as f:
  7. github_configuration = yaml.safe_load(f)
  8. test_platforms = github_configuration\
  9. ['jobs']['test_builds']['strategy']['matrix']['test-platform']
  10. print(' '.join(test_platforms))