Skip to content

Commit 473de38

Browse files
authored
Skip unstable tests during PR check. (#86)
1 parent 8578610 commit 473de38

11 files changed

+207
-152
lines changed

.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ jobs:
4848
- name: Setup infra environment
4949
timeout-minutes: 60
5050
if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
51-
run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
51+
run: |
52+
echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
53+
- name: Setup test environment
54+
if: ${{ github.event.repository.name != 'ci-gha-workflow' }}
55+
run: |
56+
echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV
5257
- name: PR info
5358
timeout-minutes: 60
5459
run: |
@@ -99,59 +104,59 @@ jobs:
99104
- name: Accuracy:calib3d
100105
timeout-minutes: 60
101106
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
102-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }}
107+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
103108
- name: Accuracy:core
104109
timeout-minutes: 60
105110
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
106-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }}
111+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
107112
- name: Accuracy:dnn
108113
timeout-minutes: 60
109114
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
110-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }}
115+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
111116
- name: Accuracy:features2d
112117
timeout-minutes: 60
113118
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
114-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }}
119+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
115120
- name: Accuracy:flann
116121
timeout-minutes: 60
117122
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
118-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }}
123+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
119124
- name: Accuracy:highgui
120125
timeout-minutes: 60
121126
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
122-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }}
127+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
123128
- name: Accuracy:imgcodecs
124129
timeout-minutes: 60
125130
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
126-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }}
131+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
127132
- name: Accuracy:imgproc
128133
timeout-minutes: 60
129134
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
130-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }}
135+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
131136
- name: Accuracy:ml
132137
timeout-minutes: 60
133138
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
134-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }}
139+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
135140
- name: Accuracy:objdetect
136141
timeout-minutes: 60
137142
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
138-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }}
143+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
139144
- name: Accuracy:photo
140145
timeout-minutes: 60
141146
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
142-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter="-Photo_CalibrateDebevec.regression"
147+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter="-Photo_CalibrateDebevec.regression"
143148
- name: Accuracy:stitching
144149
timeout-minutes: 60
145150
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
146-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }}
151+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
147152
- name: Accuracy:video
148153
timeout-minutes: 60
149154
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
150-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }}
155+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
151156
- name: Accuracy:videoio
152157
timeout-minutes: 60
153158
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
154-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }}
159+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
155160
- name: Python3
156161
timeout-minutes: 60
157162
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

.github/workflows/OCV-PR-4.x-ARM64.yaml

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ jobs:
4949
- name: Setup infra environment
5050
timeout-minutes: 60
5151
if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
52-
run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
52+
run: |
53+
echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
54+
- name: Setup test environment
55+
if: ${{ github.event.repository.name != 'ci-gha-workflow' }}
56+
run: |
57+
echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV
5358
- name: PR info
5459
timeout-minutes: 60
5560
run: |
@@ -117,59 +122,59 @@ jobs:
117122
- name: Accuracy:calib3d
118123
timeout-minutes: 60
119124
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
120-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }}
125+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
121126
- name: Accuracy:core
122127
timeout-minutes: 60
123128
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
124-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }}
129+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
125130
- name: Accuracy:dnn
126131
timeout-minutes: 60
127132
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
128-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }}
133+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
129134
- name: Accuracy:features2d
130135
timeout-minutes: 60
131136
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
132-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }}
137+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
133138
- name: Accuracy:flann
134139
timeout-minutes: 60
135140
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
136-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }}
141+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
137142
- name: Accuracy:highgui
138143
timeout-minutes: 60
139144
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
140-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }}
145+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
141146
- name: Accuracy:imgcodecs
142147
timeout-minutes: 60
143148
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
144-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }}
149+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
145150
- name: Accuracy:imgproc
146151
timeout-minutes: 60
147152
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
148-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }}
153+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
149154
- name: Accuracy:ml
150155
timeout-minutes: 60
151156
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
152-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }}
157+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
153158
- name: Accuracy:objdetect
154159
timeout-minutes: 60
155160
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
156-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }}
161+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
157162
- name: Accuracy:photo
158163
timeout-minutes: 60
159164
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
160-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter="-Photo_CalibrateDebevec.regression"
165+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} --gtest_filter="-Photo_CalibrateDebevec.regression"
161166
- name: Accuracy:stitching
162167
timeout-minutes: 60
163168
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
164-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }}
169+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
165170
- name: Accuracy:video
166171
timeout-minutes: 60
167172
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
168-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }}
173+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
169174
- name: Accuracy:videoio
170175
timeout-minutes: 60
171176
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
172-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }}
177+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
173178
- name: Performance:calib3d
174179
timeout-minutes: 60
175180
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

.github/workflows/OCV-PR-4.x-U20-Cuda.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ jobs:
5050
- name: Setup infra environment
5151
timeout-minutes: 60
5252
if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
53-
run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
53+
run: |
54+
echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
55+
- name: Setup test environment
56+
if: ${{ github.event.repository.name != 'ci-gha-workflow' }}
57+
run: |
58+
echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV
5459
- name: PR info
5560
timeout-minutes: 60
5661
run: |
@@ -131,6 +136,6 @@ jobs:
131136
- name: Accuracy:dnn
132137
timeout-minutes: 60
133138
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
134-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }}
139+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }} ${{ env.EXTRA_GTEST_OPTIONS }}
135140
env:
136141
GTEST_FILTER_STRING: '-Test_Model.TextRecognition/0:Test_Model.TextRecognition/1:Test_Model.TextRecognitionWithCTCPrefixBeamSearch/0:Test_Model.TextRecognitionWithCTCPrefixBeamSearch/1:Test_ONNX_layers.Convolution3D/1:Test_ONNX_layers.Convolution3D_bias/1:Test_ONNX_layers.Shape/0:Test_ONNX_layers.Shape/1:Test_ONNX_layers.Power/0:Test_ONNX_layers.Power/1:Test_ONNX_layers.Elementwise_Log/0:Test_ONNX_layers.Elementwise_Log/1:Test_ONNX_layers.Elementwise_not/0:Test_ONNX_layers.Elementwise_not/1:Test_ONNX_layers.Compare_EQ/0:Test_ONNX_layers.Compare_EQ/1:Test_ONNX_layers.Compare_GT/0:Test_ONNX_layers.Compare_GT/1:Test_ONNX_layers.Compare_LT/0:Test_ONNX_layers.Compare_LT/1:Test_ONNX_layers.Compare_GTorEQ/0:Test_ONNX_layers.Compare_GTorEQ/1:Test_ONNX_layers.Compare_LEorEQ/0:Test_ONNX_layers.Compare_LEorEQ/1:Test_ONNX_layers.Eltwise3D/0:Test_ONNX_layers.Eltwise3D/1:Test_ONNX_layers.PoolConv3D/1:Test_ONNX_layers.Div/0:Test_ONNX_layers.Div/1:Test_ONNX_layers.Split/0:Test_ONNX_layers.Split/1:Test_ONNX_layers.SubFromConst/0:Test_ONNX_layers.SubFromConst/1:Test_TensorFlow_layers.Convolution3D/1:Test_TensorFlow_layers.concat_3d/1:Test_ONNX_layers.LSTM_Activations/0:Test_ONNX_nets.LResNet100E_IR/1:Test_ONNX_nets.Emotion_ferplus/0:Test_ONNX_nets.Emotion_ferplus/1:Test_ONNX_nets.Resnet34_kinetics/1'

.github/workflows/OCV-PR-4.x-U20.yaml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,12 @@ jobs:
4949
- name: Setup infra environment
5050
timeout-minutes: 60
5151
if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
52-
run: echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
52+
run: |
53+
echo "TARGET_BRANCH_NAME=4.x" >> $GITHUB_ENV
54+
- name: Setup test environment
55+
if: ${{ github.event.repository.name != 'ci-gha-workflow' }}
56+
run: |
57+
echo "EXTRA_GTEST_OPTIONS=--skip_unstable=1" >> $GITHUB_ENV
5358
- name: PR info
5459
timeout-minutes: 60
5560
run: |
@@ -118,63 +123,63 @@ jobs:
118123
- name: Accuracy:calib3d
119124
timeout-minutes: 60
120125
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
121-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }}
126+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib3d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
122127
- name: Accuracy:core
123128
timeout-minutes: 60
124129
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
125-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }}
130+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
126131
- name: Accuracy:dnn
127132
timeout-minutes: 60
128133
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
129-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }}
134+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
130135
- name: Accuracy:features2d
131136
timeout-minutes: 60
132137
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
133-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }}
138+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
134139
- name: Accuracy:flann
135140
timeout-minutes: 60
136141
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
137-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }}
142+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
138143
- name: Accuracy:gapi
139144
timeout-minutes: 60
140145
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
141-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }}
146+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
142147
- name: Accuracy:highgui
143148
timeout-minutes: 60
144149
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
145-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }}
150+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
146151
- name: Accuracy:imgcodecs
147152
timeout-minutes: 60
148153
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
149-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }}
154+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
150155
- name: Accuracy:imgproc
151156
timeout-minutes: 60
152157
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
153-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }}
158+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
154159
- name: Accuracy:ml
155160
timeout-minutes: 60
156161
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
157-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }}
162+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
158163
- name: Accuracy:objdetect
159164
timeout-minutes: 60
160165
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
161-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }}
166+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
162167
- name: Accuracy:photo
163168
timeout-minutes: 60
164169
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
165-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }}
170+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
166171
- name: Accuracy:stitching
167172
timeout-minutes: 60
168173
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
169-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }}
174+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
170175
- name: Accuracy:video
171176
timeout-minutes: 60
172177
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
173-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }}
178+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
174179
- name: Accuracy:videoio
175180
timeout-minutes: 60
176181
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
177-
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }}
182+
run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }}
178183
- name: Performance:calib3d
179184
timeout-minutes: 60
180185
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

0 commit comments

Comments
 (0)