Skip to content

Commit 0a4a7fa

Browse files
authored
Run ML module tests in contrib after migration. (#156)
1 parent 197120b commit 0a4a7fa

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

.github/workflows/OCV-Contrib-PR-5.x-U20.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ jobs:
322322
timeout-minutes: 60
323323
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
324324
run: cd $HOME/build && xvfb-run -a bin/opencv_test_xstereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
325+
- name: Accuracy:ml
326+
timeout-minutes: 60
327+
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
328+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
325329
- name: Performance:3d
326330
timeout-minutes: 60
327331
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-5.x-U22.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,10 @@ jobs:
325325
timeout-minutes: 60
326326
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
327327
run: cd $HOME/build && xvfb-run -a bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
328+
- name: Accuracy:ml
329+
timeout-minutes: 60
330+
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
331+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
328332
- name: Performance:3d
329333
timeout-minutes: 60
330334
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-5.x-W10.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ jobs:
309309
timeout-minutes: 60
310310
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
311311
run: cd ${{ github.workspace }}\build && bin\opencv_test_xstereo.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
312+
- name: Accuracy:ml
313+
timeout-minutes: 60
314+
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
315+
run: cd ${{ github.workspace }}\build && bin\opencv_test_ml.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
312316
- name: Performance:3d
313317
timeout-minutes: 60
314318
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-5.x-macOS-ARM64.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ jobs:
360360
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
361361
run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
362362
working-directory: ${{ github.workspace }}/build
363+
- name: Accuracy:ml
364+
timeout-minutes: 60
365+
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
366+
run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
367+
working-directory: ${{ github.workspace }}/build
363368
- name: Performance:3d
364369
timeout-minutes: 60
365370
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

.github/workflows/OCV-Contrib-PR-5.x-macOS-x86_64.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ jobs:
362362
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
363363
run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
364364
working-directory: ${{ github.workspace }}/build
365+
- name: Accuracy:ml
366+
timeout-minutes: 60
367+
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
368+
run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
369+
working-directory: ${{ github.workspace }}/build
365370
- name: Performance:3d
366371
timeout-minutes: 60
367372
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}

0 commit comments

Comments
 (0)