Local testing via Makefile & Docker (#19981)

This commit is contained in:
Costas Basdekis
2020-11-18 02:04:28 +00:00
committed by GitHub
parent 26ac992242
commit 1cceae89cd
59 changed files with 418 additions and 226 deletions

12
get_test_targets.py Normal file
View File

@ -0,0 +1,12 @@
#!/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))