File tree 1 file changed +16
-4
lines changed
1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -160,16 +160,28 @@ jobs:
160
160
gradle clean build --info
161
161
gradle test -Prun_tests -DMODELS_PATH=${{ env.TEST_DATA }} -Ddevice=CPU --info
162
162
163
- - name : Custom user operation tests
163
+ - name : Custom user operation tests (CMD)
164
164
working-directory : ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations
165
+ shell : cmd
165
166
run : |
166
- . "${{ env.INSTALL_DIR }}/setupvars.ps1"
167
- python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations/tests/requirements.txt
167
+ call C:\tools\opencv\build\setup_vars_opencv4.cmd
168
+ call ${{ env.INSTALL_DIR }}\setupvars.bat
169
+ python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}\modules\custom_operations\tests\requirements.txt
168
170
169
- python3 -m pytest -k "not sparse_conv" tests/ run_tests.py
171
+ python3 -m pytest -k "not sparse_conv" tests\ run_tests.py
170
172
env :
171
173
CUSTOM_OP_LIB : ${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/user_ov_extensions.dll
172
174
175
+ # - name: Custom user operation tests
176
+ # working-directory: ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations
177
+ # run: |
178
+ # . "${{ env.INSTALL_DIR }}/setupvars.ps1"
179
+ # python3 -m pip install -r ${{ env.OPENVINO_CONTRIB_REPO }}/modules/custom_operations/tests/requirements.txt
180
+ #
181
+ # python3 -m pytest -k "not sparse_conv" tests/run_tests.py
182
+ # env:
183
+ # CUSTOM_OP_LIB: ${{ env.OPENVINO_REPO }}/bin/intel64/${{ env.CMAKE_BUILD_TYPE }}/user_ov_extensions.dll
184
+
173
185
- name : Upload Test Results
174
186
uses : actions/upload-artifact@v4
175
187
if : ${{ !cancelled() }}
You can’t perform that action at this time.
0 commit comments