File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -148,10 +148,13 @@ jobs:
148148
149149
150150 test-codeql-latest-vs-current :
151- # Tests if the latest codeql version produces the same results as the current version.
151+ # Tests if the latest codeql version produces the same results as the current version.
152+ # Runs in parallel with `test-query-health` (no `needs:` dependency) to halve the
153+ # pipeline's wall-clock time. It is independent: it downloads its own (latest)
154+ # CodeQL CLI and runs the same per-test build/analyze cycle. `continue-on-error`
155+ # below means failures here never block the workflow regardless of order.
152156 runs-on : windows-latest
153157 continue-on-error : true # Allow script to return non-zero exit code
154- needs : test-query-health
155158 permissions :
156159 contents : read
157160 packages : write
@@ -160,10 +163,6 @@ jobs:
160163 ACCOUNT_NAME : ${{ secrets.ACCOUNT_NAME }}
161164 SHARE_NAME : ${{ secrets.SHARE_NAME }}
162165 steps :
163- - name : Check Prev Job
164- if : ${{ needs.test-query-health.result == 'failure' }}
165- shell : pwsh
166- run : exit 1
167166 - name : Enable long git paths
168167 shell : cmd
169168 run : git config --global core.longpaths true
You can’t perform that action at this time.
0 commit comments