Skip to content

Commit

Permalink
Test python based tools as dedicated entity.
Browse files Browse the repository at this point in the history
  • Loading branch information
asmorkalov committed Apr 25, 2023
1 parent 7330299 commit 5fc00a1
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 8 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xphoto --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-Contrib-PR-4.x-U20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -425,12 +425,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xphoto --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,12 +419,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xstereo --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bingings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-Contrib-PR-5.x-U20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -427,12 +427,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xstereo --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bingings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-PR-4.x-ARM64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-PR-4.x-U20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-PR-5.x-ARM64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/OCV-PR-5.x-U20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,20 @@ jobs:
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
- name: Python3
- name: Python3 Bindings
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v
- name: Python3 Apps
timeout-minutes: 60
if: ${{ always() && steps.build-opencv.outcome == 'success' }}
run: |
cd $HOME/build
if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then
python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v
fi
- name: Java
timeout-minutes: 60
id: java-test
Expand Down

0 comments on commit 5fc00a1

Please sign in to comment.