mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
Only add binary tests if they exist (#21973)
* only add binary tests if they exist * shellcheck
This commit is contained in:
2
.github/workflows/test-go.yml
vendored
2
.github/workflows/test-go.yml
vendored
@@ -138,7 +138,7 @@ jobs:
|
||||
run: |
|
||||
set -exo pipefail
|
||||
matrix_file="matrix.json"
|
||||
if [ "${{ inputs.binary-tests}}" == "true" ]; then
|
||||
if [ "${{ inputs.binary-tests}}" == "true" ] && [ -n "${{ steps.list-binary-tests.outputs.list }}" ]; then
|
||||
export BINARY_TESTS="${{ steps.list-binary-tests.outputs.list }}"
|
||||
jq --arg BINARY "${BINARY_TESTS}" --arg BINARY_INDEX "${{ inputs.total-runners }}" \
|
||||
'.include += [{
|
||||
|
||||
Reference in New Issue
Block a user