@@ -119,17 +119,32 @@ jobs:
119119 matrix :
120120 module : ${{ fromJSON(needs.detect-modules.outputs.modules) }}
121121 node-version : [ 18.x, 20.x, 22.x ]
122- container-runtime : [ docker, podman ]
123- include :
124- - container-runtime : docker
125- runner : ubuntu-22.04
126- - container-runtime : podman
127- runner : ubuntu-22.04
128122 uses : ./.github/workflows/test-template.yml
129123 with :
130- runner : ${{ matrix.runner }}
124+ runner : ubuntu-22.04
131125 node-version : ${{ matrix.node-version }}
132- container-runtime : ${{ matrix.container-runtime }}
126+ container-runtime : docker
127+ workspace : " ${{ matrix.module }}"
128+
129+ test-podman :
130+ name : Run tests
131+ # only run if there are modules to test
132+ if : ${{ needs.detect-modules.outputs.modules_count > 0 }}
133+ needs :
134+ - detect-modules
135+ - lint
136+ - smoke-test
137+ - test
138+ strategy :
139+ fail-fast : false
140+ matrix :
141+ module : ${{ fromJSON(needs.detect-modules.outputs.modules) }}
142+ node-version : [ 18.x, 20.x, 22.x ]
143+ uses : ./.github/workflows/test-template.yml
144+ with :
145+ runner : ubuntu-22.04
146+ node-version : ${{ matrix.node-version }}
147+ container-runtime : podman
133148 workspace : " ${{ matrix.module }}"
134149
135150 # This job serves as confirmation that all test jobs finished
@@ -140,6 +155,7 @@ jobs:
140155 - lint
141156 - smoke-test
142157 - test
158+ - test-podman
143159 runs-on : ubuntu-latest
144160 steps :
145161 - name : Check if any jobs failed
0 commit comments