From ab688ee6f9b237130f18914903b7ce28c7ad1df6 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Thu, 23 Mar 2023 16:04:04 +0100 Subject: [PATCH] Document how to use run_all_test.py to display the test matrix --- TESTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTING.md b/TESTING.md index 8830fbd..a24193a 100644 --- a/TESTING.md +++ b/TESTING.md @@ -158,7 +158,7 @@ You can look into `[.github/workflows/ansible-test-plugins.yml](https://github.c - Python - A connector: The python package to connect to the database (pymysql, mysqlclient, ...) - A mysql client to prepare databases before our tests starts. This client must provide both `mysql` and `mysqldump` commands. -1. Add your version in *.github/workflows/ansible-test-plugins.yml* +1. Add your version in the matrix of *.github/workflows/ansible-test-plugins.yml*. You can use [run_all_tests.py](run_all_tests.py) to help you see what the matrix will be. Simply comment out the line `os.system(make_cmd)` before runing the script. You can also add `print(len(matrix))` to display how many tests there will be on GitHub Action. 1. Ask the lead maintainer to mark your new image(s) as `public` under [https://github.com/orgs/ansible-collections/packages](https://github.com/orgs/ansible-collections/packages) After pushing your commit to the remote, the container will be built and published on ghcr.io. Have a look in the "Action" tab to see if it worked. In case of error `failed to copy: io: read/write on closed pipe` re-run the workflow, this append unfortunately a lot.