diff --git a/.github/scripts/set-test-package-matrix.sh b/.github/scripts/set-test-package-matrix.sh index ce98487537..8bccd2b711 100755 --- a/.github/scripts/set-test-package-matrix.sh +++ b/.github/scripts/set-test-package-matrix.sh @@ -2,6 +2,6 @@ set -euo pipefail # set matrix var to list of unique packages containing tests -matrix="$(go list -json="ImportPath,TestGoFiles" ./... | jq --compact-output '. | select(.TestGoFiles != null) | .ImportPath' | jq --slurp --compact-output '.')" +matrix="$(go list -json="ImportPath,TestGoFiles,XTestGoFiles" ./... | jq --compact-output '. | select(.TestGoFiles != null or .XTestGoFiles != null) | .ImportPath' | jq --slurp --compact-output '.')" -echo "matrix=${matrix}" | tee -a "${GITHUB_OUTPUT}" \ No newline at end of file +echo "matrix=${matrix}" | tee -a "${GITHUB_OUTPUT}"