mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-22 10:21:29 -07:00
Add running make command for all tests of the matrix
This commit is contained in:
parent
e8d7de4a64
commit
a646e76e87
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import yaml
|
||||
import os
|
||||
|
||||
github_workflow_file = '.github/workflows/ansible-test-plugins.yml'
|
||||
|
||||
|
@ -62,7 +63,10 @@ def main():
|
|||
if not is_exclude(exclude_list, (db_engine, python, connector)):
|
||||
matrix.append((db_engine, python, connector))
|
||||
|
||||
print(len(matrix))
|
||||
for tests in matrix:
|
||||
make_cmd = f'make db_engine_version="{tests[0]}" python="{tests[1]}" connector="{tests[2]}" test-integration'
|
||||
print(f'Run tests for: {tests[0]}, Python: {tests[1]}, Connector: {tests[2]}')
|
||||
os.system(make_cmd)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue