Skip to content

Commit 4808a7b

Browse files
Add aditional options flag to bom yml
1 parent 2224382 commit 4808a7b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/bom.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
type: string
2525
default: "stereo"
2626
description: "Which device to test - stereo or rgb"
27+
additional_options:
28+
required: false
29+
type: string
2730

2831
jobs:
2932
id:
@@ -95,11 +98,14 @@ jobs:
9598
HOLD_RESERVATION="--hold-reservation"
9699
fi
97100
101+
if [[ -n "${{ github.event.inputs.additional_options }}" ]]; then
102+
ADDITIONAL_OPTIONS="${{ github.event.inputs.additional_options }}"
103+
fi
104+
98105
if [[ "${{ github.event.inputs.device }}" == 'stereo' ]]; then
99106
MODELS="oak4_pro or oak4_d"
100107
else
101108
MODELS="oak4_s"
102109
RGB="rgb"
103110
fi
104-
105-
exec hil $HOLD_RESERVATION --models "$MODELS" $RESERVATION_OPTION --wait --docker-image ${{ secrets.CONTAINER_REGISTRY }}/depthai-core-hil:${{ needs.build_docker_container.outputs.tag }} --commands "./tests/run_tests_entrypoint.sh rvc4$RGB"
111+
exec hil $HOLD_RESERVATION --models "$MODELS" $RESERVATION_OPTION --wait $ADDITIONAL_OPTIONS --docker-image ${{ secrets.CONTAINER_REGISTRY }}/depthai-core-hil:${{ needs.build_docker_container.outputs.tag }} --commands "./tests/run_tests_entrypoint.sh rvc4$RGB"

0 commit comments

Comments
 (0)