-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci checkout and sync workspace using hil
- Loading branch information
1 parent
0a1c9cc
commit 6f9eb69
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,9 @@ jobs: | |
platform: [RVC2] #TODO: add RVC4 platform | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Add HIL Tools to Path | ||
run: | | ||
echo "/home/$USER/hil_framework/lib_testbed/tools" >> $GITHUB_PATH | ||
|
@@ -27,7 +30,8 @@ jobs: | |
- name: Run Test | ||
run: | | ||
CMD="hil --testbed oak4-pro --reservation-name '[email protected]' --commands 'cd ~/Documents/source/depthai-experiments' 'git fetch' 'git checkout ${{ github.ref_name }}' 'git pull' 'python3 gen3_script_tester.py --environment-variables DEPTHAI_PLATFORM=${{ matrix.platform }} --virtual-display --path ./neural-networks/advanced-examples/object-detection/mobile-object-localizer" | ||
export RESERVATION_NAME="https://github.com/$GITHUB_REPOSITORY/actions/$GITHUB_RUN_ID-${{ matrix.python-version }}-${{ matrix.platform }}" | ||
CMD="hil --testbed oak4-pro --reservation-name $RESERVATION_NAME --wait --sync-workspace --commands 'cd /tmp/depthai-experiments' 'python3 gen3_script_tester.py --environment-variables DEPTHAI_PLATFORM=${{ matrix.platform }} --virtual-display --path ./neural-networks/advanced-examples/object-detection/mobile-object-localizer" CMD | ||
if [ -n "${{ github.event.inputs.depthai_version }}" ]; then | ||
CMD="$CMD --depthai-version ${{ github.event.inputs.depthai_version }}" | ||
fi | ||
|