Skip to content

Commit d6a415d

Browse files
authored
Script to run videoio accuracy tests without concurrency (#60)
1 parent 22c6f9a commit d6a415d

File tree

6 files changed

+212
-200
lines changed

6 files changed

+212
-200
lines changed

.github/workflows/OCV-Contrib-PR-3.4-W10.yaml

Lines changed: 58 additions & 56 deletions
Large diffs are not rendered by default.

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

Lines changed: 71 additions & 69 deletions
Large diffs are not rendered by default.

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

Lines changed: 74 additions & 72 deletions
Large diffs are not rendered by default.

.github/workflows/OCV-PR-3.4-W10.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ jobs:
170170
- name: Accuracy:videoio
171171
timeout-minutes: 60
172172
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
173-
run: cd ${{ github.workspace }}\build && bin\opencv_test_videoio.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
173+
run: |
174+
# batch script is used to run videoio accuracy test iteratively in case of random failures in a parallel run on a self-hosted runner
175+
cd ${{ github.workspace }}\build && %CI_SCRIPTS%\videoio.bat
174176
- name: Accuracy:videostab
175177
timeout-minutes: 60
176178
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ jobs:
166166
- name: Accuracy:videoio
167167
timeout-minutes: 60
168168
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
169-
run: cd ${{ github.workspace }}\build && bin\opencv_test_videoio.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
169+
run: |
170+
# batch script is used to run videoio accuracy test iteratively in case of random failures in a parallel run on a self-hosted runner
171+
cd ${{ github.workspace }}\build && %CI_SCRIPTS%\videoio.bat
170172
- name: Performance:calib3d
171173
timeout-minutes: 60
172174
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ jobs:
174174
- name: Accuracy:videoio
175175
timeout-minutes: 60
176176
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
177-
run: cd ${{ github.workspace }}\build && bin\opencv_test_videoio.exe --skip_unstable --gtest_filter=${{ env.GTEST_FILTER_STRING }} --test_threads=%PARALLEL_JOBS%
177+
run: |
178+
# batch script is used to run videoio accuracy test iteratively in case of random failures in a parallel run on a self-hosted runner
179+
cd ${{ github.workspace }}\build && %CI_SCRIPTS%\videoio.bat
178180
- name: Performance:3d
179181
timeout-minutes: 60
180182
if: ${{ always() && steps.build-opencv.outcome == 'success' }}

0 commit comments

Comments
 (0)