Răsfoiți Sursa

hiding camera device errors for windows

Rodja Trappe 2 ani în urmă
părinte
comite
228cdc3242
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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