Skip to content

Commit

Permalink
fixup! RISC-V: combine nightly builds into single job
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Feb 18, 2025
1 parent 83bf5df commit 79f9389
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/OCV-Nightly-RISCV.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
RISC-V:
runs-on: opencv-ru-lin-riscv
concurrency:
group: OCV-Nightly-RISCV-${{ matrix.version }}-${{ matrix.remote && matrix.host || 'local' }}
group: OCV-Nightly-RISCV-${{ matrix.remote && matrix.host || 'local' }}
cancel-in-progress: false
strategy:
fail-fast: false
Expand Down Expand Up @@ -128,7 +128,6 @@ jobs:
uses: ./run-tests
env:
OPENCV_TEST_DATA_PATH: '${{ env.HOME }}/opencv_extra/testdata'
OPENCV_TEST_REQUIRE_DATA: 1
OPENCV_TEST_CHECK_OPTIONAL_DATA: 1
with:
workdir: '${{ matrix.remote && ''.'' || env.HOME }}'
Expand All @@ -138,7 +137,7 @@ jobs:
suite: "[ 'default' ]"
filter: "[ '${{ matrix.version }}' ]"
options: "${{ matrix.version }}"
timeout: "20"
timeout: "30"
enable_python: "false"
enable_java: "false"
suffix: '${{ matrix.version }}_${{ matrix.branch }}'
Expand Down
6 changes: 3 additions & 3 deletions run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ runs:

- if: ${{ always() && fromJSON(inputs.enable_python) }}
shell: bash
working-directory: ${{ inputs.rootdir }}
working-directory: ${{ inputs.workdir }}/${{ inputs.builddir }}
run: |
echo "::group::Python test"
python3 ../opencv/modules/python/test/test.py --repo ../opencv -v
echo "::endgroup::"
- if: ${{ always() && fromJSON(inputs.enable_python) }}
shell: bash
working-directory: ${{ inputs.rootdir }}
working-directory: ${{ inputs.workdir }}/${{ inputs.builddir }}
run: |
echo "::group::Python app test"
if [ -f "../opencv/apps/python_app_test.py" ]; then
Expand All @@ -86,7 +86,7 @@ runs:
- if: ${{ always() && fromJSON(inputs.enable_java) }}
id: java-test
shell: bash
working-directory: ${{ inputs.rootdir }}
working-directory: ${{ inputs.workdir }}/${{ inputs.builddir }}
run: |
echo "::group::Java test"
${{ inputs.wrapper }} python3 ../opencv/modules/ts/misc/run.py . -a -t java
Expand Down
3 changes: 3 additions & 0 deletions scripts/test-plan-riscv-5.x.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
],
"test_video": [
"Video_RunningAvg.accuracy"
],
"test_3d": [
"Volume/VolumeTestFixture.*/*"
]
},
"main": {
Expand Down

0 comments on commit 79f9389

Please sign in to comment.