Conversation
|
It might be possible to use dependant jobs in GHA to simplify this config a bit. Each workflow set ( I'm not sure whether there is anything else that could be shown in these dummy jobs such as perhaps a warnings summary, but it might be worth adding just to simplify this config. OTOH the set of jobs doesn't change often, so this might be fine as is. |
|
Interesting idea! Would they still need enumerating, something like this? jobs:
build:
...
success:
needs: [
MSYS2 MinGW 32-bit,
MSYS2 MinGW 64-bit,
Python 3.6 x64,
Python 3.6 x86,
Python 3.7 x64,
Python 3.7 x86,
Python 3.8 x64,
Python 3.8 x86,
Python 3.9-dev x64,
Python 3.9-dev x86,
Python pypy3 x86,
]
Or would it be possible to use a matrix? |
|
It only needs to list jobs:
build:
...
success:
needs: build
...Take a look at an example I made: test.yml, test-windows.yml |
|
That looks good. Please could you make a test PR against my fork? I've put this config there: |
(cherry picked from commit 0158d75)
Fixes #4900.
Changes proposed in this pull request:
So it's a bit more maintenance for GHA. We could rename the jobs so they don't include Python versions etc., but it's useful to see which one fails at a glance. Let's see how it goes and iterate if necessary.