From 44bb921045f45a6051e8ee2b8e5ac9e74655ab18 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 13 Jul 2023 09:56:57 +0300 Subject: [PATCH] Skip unstable tests in contrib too. --- .../workflows/OCV-Contrib-PR-4.x-ARM64.yaml | 93 +++++++++--------- .../OCV-Contrib-PR-4.x-U20-Cuda.yaml | 27 +++--- .github/workflows/OCV-Contrib-PR-4.x-U20.yaml | 95 +++++++++--------- .github/workflows/OCV-Contrib-PR-4.x-U22.yaml | 95 +++++++++--------- .../OCV-Contrib-PR-4.x-macOS-ARM64.yaml | 93 +++++++++--------- .../OCV-Contrib-PR-4.x-macOS-x86_64.yaml | 93 +++++++++--------- .../workflows/OCV-Contrib-PR-5.x-ARM64.yaml | 96 +++++++++--------- .../OCV-Contrib-PR-5.x-U20-Cuda.yaml | 27 +++--- .github/workflows/OCV-Contrib-PR-5.x-U20.yaml | 97 ++++++++++--------- .../OCV-Contrib-PR-5.x-macOS-ARM64.yaml | 97 ++++++++++--------- .../OCV-Contrib-PR-5.x-macOS-x86_64.yaml | 97 ++++++++++--------- 11 files changed, 472 insertions(+), 438 deletions(-) diff --git a/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml index 109b30e8..31bd449a 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml @@ -51,6 +51,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -134,189 +137,189 @@ jobs: - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:calib3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_aug timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build if [[ -f bin/opencv_test_imgaug ]]; then - xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} else echo "No Augmentation module" fi - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + 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 }} - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml b/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml index dad1fce3..21327c57 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml @@ -51,6 +51,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -117,57 +120,57 @@ jobs: # - name: Accuracy:cudaarithm # timeout-minutes: 60 # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} + # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudabgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudacodec timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_Codec/CheckKeyFrame.Reader/8:CUDA_Codec/CheckKeyFrame.Reader/9:CUDA_Codec/Video.Reader/8:CUDA_Codec/Video.Reader/9' - name: Accuracy:cudafeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudafilters timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaimgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/1:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/2:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/3:CUDA_ImgProc/HoughCircles.Accuracy/0' - name: Accuracy:cudalegacy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaobjdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaoptflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_OptFlow/NvidiaOpticalFlow_1_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_1_0.OpticalFlowNan/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.OpticalFlowNan/0' - name: Accuracy:cudastereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudawarping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudev timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:cudaarithm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml b/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml index 2da77633..090cc069 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml @@ -51,6 +51,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -134,193 +137,193 @@ jobs: - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:calib3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:gapi timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_aug timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build if [[ -f bin/opencv_test_imgaug ]]; then - xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} else echo "No Augmentation module" fi - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + 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 }} - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-4.x-U22.yaml b/.github/workflows/OCV-Contrib-PR-4.x-U22.yaml index 70629b49..e6a84a04 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-U22.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-U22.yaml @@ -54,6 +54,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -137,193 +140,193 @@ jobs: - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:calib3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:gapi timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_aug timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build if [[ -f bin/opencv_test_imgaug ]]; then - xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + xvfb-run -a bin/opencv_test_imgaug --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} else echo "No Augmentation module" fi - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + 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 }} - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-4.x-macOS-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-4.x-macOS-ARM64.yaml index 650a9f7c..17a8141a 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-macOS-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-macOS-ARM64.yaml @@ -37,6 +37,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -126,77 +129,77 @@ jobs: - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:calib3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build # - name: Accuracy:gapi # timeout-minutes: 60 # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - # run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + # run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} # working-directory: ${{ github.workspace }}/build - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_aug timeout-minutes: 60 @@ -211,152 +214,152 @@ jobs: - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Performance:aruco timeout-minutes: 60 diff --git a/.github/workflows/OCV-Contrib-PR-4.x-macOS-x86_64.yaml b/.github/workflows/OCV-Contrib-PR-4.x-macOS-x86_64.yaml index b6d09774..4efe4496 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-macOS-x86_64.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-macOS-x86_64.yaml @@ -37,6 +37,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -125,79 +128,79 @@ jobs: - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:calib3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} env: OPENCV_OPENCL_CACHE_ENABLE: 0 - run: ./bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_calib3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:gapi timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_aug timeout-minutes: 60 @@ -212,152 +215,152 @@ jobs: - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Performance:aruco timeout-minutes: 60 diff --git a/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml index 8565f6e2..cb9749e1 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml @@ -47,6 +47,10 @@ jobs: - name: Define proper HOME path timeout-minutes: 60 run: echo "HOME=/home/ci" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: | + echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: Setup infra environment timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} @@ -134,187 +138,187 @@ jobs: - name: Accuracy:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:calib timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + 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 }} - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xstereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} + 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 }} - name: Performance:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml b/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml index 74ecde4c..8f81a526 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml @@ -51,6 +51,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=5.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -117,57 +120,57 @@ jobs: # - name: Accuracy:cudaarithm # timeout-minutes: 60 # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} + # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaarithm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudabgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudacodec timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_Codec/CheckKeyFrame.Reader/8:CUDA_Codec/CheckKeyFrame.Reader/9:CUDA_Codec/Video.Reader/8:CUDA_Codec/Video.Reader/9' - name: Accuracy:cudafeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafeatures2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudafilters timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudafilters --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaimgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaimgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/1:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/2:CUDA_ImgProc/HoughLinesProbabilistic.Accuracy/3:CUDA_ImgProc/HoughCircles.Accuracy/0' - name: Accuracy:cudalegacy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudalegacy --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaobjdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaobjdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudaoptflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudaoptflow --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} env: GTEST_FILTER_STRING: '-CUDA_OptFlow/NvidiaOpticalFlow_1_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_1_0.OpticalFlowNan/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.Regression/0:CUDA_OptFlow/NvidiaOpticalFlow_2_0.OpticalFlowNan/0' - name: Accuracy:cudastereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudastereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudawarping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudawarping --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:cudev timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudev --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:cudaarithm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml b/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml index 32887dc9..561622ba 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml @@ -51,6 +51,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=5.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -134,191 +137,191 @@ jobs: - name: Accuracy:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_aruco --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bgsegm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_bioinspired --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:calib timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn_superres --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_face --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_fuzzy --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:gapi timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_hdf --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_img_hash --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_intensity_transform --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_line_descriptor --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_mcc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_optflow --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_phase_unwrapping --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_quality --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rapid --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_reg --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_rgbd --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_saliency --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_sfm --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_shape --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_structured_light --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_superres --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_text --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_tracking --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videostab --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_wechat_qrcode --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xfeatures2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ximgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xphoto --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Accuracy:xstereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: cd $HOME/build && xvfb-run -a bin/opencv_test_xstereo --test_threads=${{ env.PARALLEL_JOBS }} + run: cd $HOME/build && xvfb-run -a bin/opencv_test_xstereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} - name: Performance:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} diff --git a/.github/workflows/OCV-Contrib-PR-5.x-macOS-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-5.x-macOS-ARM64.yaml index 690257bc..a4e29801 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-macOS-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-macOS-ARM64.yaml @@ -37,6 +37,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=5.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -125,237 +128,237 @@ jobs: - name: Accuracy:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:calib timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build # - name: Accuracy:gapi # timeout-minutes: 60 # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - # run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + # run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} # working-directory: ${{ github.workspace }}/build - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xstereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Performance:3d timeout-minutes: 60 diff --git a/.github/workflows/OCV-Contrib-PR-5.x-macOS-x86_64.yaml b/.github/workflows/OCV-Contrib-PR-5.x-macOS-x86_64.yaml index 2f40405d..cabd5ac4 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-macOS-x86_64.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-macOS-x86_64.yaml @@ -37,6 +37,9 @@ jobs: timeout-minutes: 60 if: ${{ github.event.repository.name == 'ci-gha-workflow' }} run: echo "TARGET_BRANCH_NAME=5.x" >> $GITHUB_ENV + - name: Setup test environment + if: ${{ github.event.repository.name != 'ci-gha-workflow' }} + run: echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV - name: PR info timeout-minutes: 60 run: | @@ -125,239 +128,239 @@ jobs: - name: Accuracy:3d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_3d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:aruco timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_aruco --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bgsegm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bgsegm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:bioinspired timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_bioinspired --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:calib timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} env: OPENCV_OPENCL_CACHE_ENABLE: 0 - run: ./bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_calib --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:core timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_core --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:dnn_superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_dnn_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:face timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_face --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:features2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_features2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:flann timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_flann --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:fuzzy timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_fuzzy --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:gapi timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_gapi --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:hdf timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_hdf --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:highgui timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_highgui --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:img_hash timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_img_hash --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgcodecs timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgcodecs --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:imgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_imgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:intensity_transform timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_intensity_transform --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:line_descriptor timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_line_descriptor --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:mcc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_mcc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ml timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ml --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:objdetect timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_objdetect --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:optflow timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_optflow --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:phase_unwrapping timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_phase_unwrapping --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:photo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_photo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:quality timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_quality --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rapid timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rapid --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:reg timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_reg --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:rgbd timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_rgbd --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:saliency timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_saliency --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:sfm timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_sfm --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:shape timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_shape --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:stitching timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_stitching --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:structured_light timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_structured_light --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:superres timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_superres --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:text timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_text --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:tracking timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_tracking --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:video timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_video --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videoio timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videoio --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:videostab timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_videostab --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:wechat_qrcode timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_wechat_qrcode --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xfeatures2d timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xfeatures2d --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:ximgproc timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_ximgproc --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xphoto timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xphoto --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Accuracy:xstereo timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} - run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=$PARALLEL_JOBS + run: ./bin/opencv_test_xstereo --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} working-directory: ${{ github.workspace }}/build - name: Performance:3d timeout-minutes: 60