Browse Source

hiding camera device errors for windows

Rodja Trappe 2 năm trước cách đây
mục cha
commit
228cdc3242
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      .github/workflows/test.yml

+ 2 - 0
.github/workflows/test.yml

@@ -47,6 +47,8 @@ jobs:
       - name: test startup
         run: ./test_startup.sh
         shell: bash
+        env:
+          OPENCV_VIDEOIO_PRIORITY_MSMF: "0" # hide camera device errors from output on windows
       - name: setup chromedriver
         uses: nanasess/setup-chromedriver@v1
       - name: pytest