CI: Update matrix.py so all code is contained in functions.
authorAndrew Hopkins <andhop@amazon.com>
Tue, 5 Sep 2023 23:32:50 +0000 (16:32 -0700)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 Sep 2023 11:41:36 +0000 (13:41 +0200)
commitb2a7840a2821d642ce65e98b32aef046ee1924c5
tree6d7234b4b5d00e80f7d352ae1b6179e08e821078
parent4f776903669e02c69307053ef10e462b7eff1169
CI: Update matrix.py so all code is contained in functions.

Refactor matrix.py so all the logic is contained inside either
helper functions or a new main function. Run the new main function
by default. This lets other GitHub actions use functions in the
python code without generating the whole matrix.
.github/matrix.py