Skip to content

Commit

Permalink
Test OpenCV.js (#174)
Browse files Browse the repository at this point in the history
* Build OpenCV.js

* Run tests

* Use nigthly docs for JS tests

* Custom branch

* Update OCV-Nightly-docs-js.yaml
  • Loading branch information
dkurt authored Jun 17, 2024
1 parent 9fc69bc commit b4738f0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/OCV-Nightly-docs-js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,14 @@ jobs:
timeout-minutes: 60
run: |
cd $HOME/build
python ../opencv/platforms/js/build_js.py js
emcmake python ../opencv/platforms/js/build_js.py js --build_test
- name: Run js tests
timeout-minutes: 60
if: ${{ always() && matrix.branch == '4.x' }}
run: |
cd $HOME/build/js/bin
npm install
node tests.js
- name: Configure OpenCV doxygen
timeout-minutes: 60
run: |
Expand All @@ -72,4 +79,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: OpenCVDocDoxygen${{ matrix.branch }}
path: /home/ci/build/release/doc_doxygen.zip
path: /home/ci/build/release/doc_doxygen.zip

0 comments on commit b4738f0

Please sign in to comment.