|
50 | 50 | timeout-minutes: 60
|
51 | 51 | if: ${{ github.event.repository.name == 'ci-gha-workflow' }}
|
52 | 52 | run: echo "TARGET_BRANCH_NAME=5.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 |
53 | 57 | - name: PR info
|
54 | 58 | timeout-minutes: 60
|
55 | 59 | run: |
|
@@ -117,71 +121,71 @@ jobs:
|
117 | 121 | - name: Accuracy:3d
|
118 | 122 | timeout-minutes: 60
|
119 | 123 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
120 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --test_threads=${{ env.PARALLEL_JOBS }} |
| 124 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_3d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
121 | 125 | - name: Accuracy:calib
|
122 | 126 | timeout-minutes: 60
|
123 | 127 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
124 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --test_threads=${{ env.PARALLEL_JOBS }} |
| 128 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_calib --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
125 | 129 | - name: Accuracy:core
|
126 | 130 | timeout-minutes: 60
|
127 | 131 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
128 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} |
| 132 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_core --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
129 | 133 | - name: Accuracy:dnn
|
130 | 134 | timeout-minutes: 60
|
131 | 135 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
132 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} |
| 136 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_dnn --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
133 | 137 | - name: Accuracy:features2d
|
134 | 138 | timeout-minutes: 60
|
135 | 139 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
136 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} |
| 140 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_features2d --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
137 | 141 | - name: Accuracy:flann
|
138 | 142 | timeout-minutes: 60
|
139 | 143 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
140 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} |
| 144 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_flann --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
141 | 145 | - name: Accuracy:gapi
|
142 | 146 | timeout-minutes: 60
|
143 | 147 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
144 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }} |
| 148 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_gapi --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
145 | 149 | - name: Accuracy:highgui
|
146 | 150 | timeout-minutes: 60
|
147 | 151 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
148 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} |
| 152 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_highgui --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
149 | 153 | - name: Accuracy:imgcodecs
|
150 | 154 | timeout-minutes: 60
|
151 | 155 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
152 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} |
| 156 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgcodecs --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
153 | 157 | - name: Accuracy:imgproc
|
154 | 158 | timeout-minutes: 60
|
155 | 159 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
156 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} |
| 160 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_imgproc --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
157 | 161 | - name: Accuracy:ml
|
158 | 162 | timeout-minutes: 60
|
159 | 163 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
160 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} |
| 164 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_ml --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
161 | 165 | - name: Accuracy:objdetect
|
162 | 166 | timeout-minutes: 60
|
163 | 167 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
164 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} |
| 168 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_objdetect --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
165 | 169 | - name: Accuracy:photo
|
166 | 170 | timeout-minutes: 60
|
167 | 171 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
168 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} |
| 172 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_photo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
169 | 173 | - name: Accuracy:stereo
|
170 | 174 | timeout-minutes: 60
|
171 | 175 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
172 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --test_threads=${{ env.PARALLEL_JOBS }} |
| 176 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stereo --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
173 | 177 | - name: Accuracy:stitching
|
174 | 178 | timeout-minutes: 60
|
175 | 179 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
176 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} |
| 180 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_stitching --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
177 | 181 | - name: Accuracy:video
|
178 | 182 | timeout-minutes: 60
|
179 | 183 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
180 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} |
| 184 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_video --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
181 | 185 | - name: Accuracy:videoio
|
182 | 186 | timeout-minutes: 60
|
183 | 187 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
184 |
| - run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} |
| 188 | + run: cd $HOME/build && xvfb-run -a bin/opencv_test_videoio --test_threads=${{ env.PARALLEL_JOBS }} ${{ env.EXTRA_GTEST_OPTIONS }} |
185 | 189 | - name: Performance:3d
|
186 | 190 | timeout-minutes: 60
|
187 | 191 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
|
0 commit comments