|
49 | 49 | - name: Setup infra environment
|
50 | 50 | timeout-minutes: 60
|
51 | 51 | 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 |
53 | 58 | - name: PR info
|
54 | 59 | timeout-minutes: 60
|
55 | 60 | run: |
|
@@ -118,63 +123,63 @@ jobs:
|
118 | 123 | - name: Accuracy:calib3d
|
119 | 124 | timeout-minutes: 60
|
120 | 125 | 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 }} |
122 | 127 | - name: Accuracy:core
|
123 | 128 | timeout-minutes: 60
|
124 | 129 | 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 }} |
126 | 131 | - name: Accuracy:dnn
|
127 | 132 | timeout-minutes: 60
|
128 | 133 | 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 }} |
130 | 135 | - name: Accuracy:features2d
|
131 | 136 | timeout-minutes: 60
|
132 | 137 | 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 }} |
134 | 139 | - name: Accuracy:flann
|
135 | 140 | timeout-minutes: 60
|
136 | 141 | 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 }} |
138 | 143 | - name: Accuracy:gapi
|
139 | 144 | timeout-minutes: 60
|
140 | 145 | 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 }} |
142 | 147 | - name: Accuracy:highgui
|
143 | 148 | timeout-minutes: 60
|
144 | 149 | 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 }} |
146 | 151 | - name: Accuracy:imgcodecs
|
147 | 152 | timeout-minutes: 60
|
148 | 153 | 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 }} |
150 | 155 | - name: Accuracy:imgproc
|
151 | 156 | timeout-minutes: 60
|
152 | 157 | 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 }} |
154 | 159 | - name: Accuracy:ml
|
155 | 160 | timeout-minutes: 60
|
156 | 161 | 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 }} |
158 | 163 | - name: Accuracy:objdetect
|
159 | 164 | timeout-minutes: 60
|
160 | 165 | 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 }} |
162 | 167 | - name: Accuracy:photo
|
163 | 168 | timeout-minutes: 60
|
164 | 169 | 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 }} |
166 | 171 | - name: Accuracy:stitching
|
167 | 172 | timeout-minutes: 60
|
168 | 173 | 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 }} |
170 | 175 | - name: Accuracy:video
|
171 | 176 | timeout-minutes: 60
|
172 | 177 | 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 }} |
174 | 179 | - name: Accuracy:videoio
|
175 | 180 | timeout-minutes: 60
|
176 | 181 | 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 }} |
178 | 183 | - name: Performance:calib3d
|
179 | 184 | timeout-minutes: 60
|
180 | 185 | if: ${{ always() && steps.build-opencv.outcome == 'success' }}
|
|
0 commit comments