File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -350,13 +350,12 @@ jobs:
350350 echo "Default CodeQL bundle version is $CODEQL_VERSION_DEFAULT"
351351 echo "Latest CodeQL bundle version is $CODEQL_VERSION_LATEST"
352352 echo "Nightly CodeQL bundle version is $CODEQL_VERSION_NIGHTLY"
353- if [[ "$CODEQL_VERSION_DEFAULT" == "$CODEQL_VERSION_LATEST" ]]; then
354- # Skip `tools: latest` since it would be the same as `tools: null`
355- VERSIONS_JSON="[null, \"$NIGHTLY_URL\"]"
356- else
357- # Run integration tests with all three bundles.
358- VERSIONS_JSON="[null, \"$NIGHTLY_URL\", \"latest\"]"
359- fi
353+
354+ # Run integration tests with all three bundles, even if `tools: latest` would be the same as
355+ # `tools: null`. This allows us to make all three kinds of integration tests required status
356+ # checks on PRs.
357+ VERSIONS_JSON="[null, \"$NIGHTLY_URL\", \"latest\"]"
358+
360359 # Output a JSON-encoded list with the distinct versions to test against.
361360 echo "Suggested matrix config for integration tests: $VERSIONS_JSON"
362361 echo "::set-output name=versions::${VERSIONS_JSON}"
You can’t perform that action at this time.
0 commit comments