1
0
Эх сурвалжийг харах

trying without virtualenvs

Rodja Trappe 2 жил өмнө
parent
commit
2dee682710

+ 4 - 4
.github/workflows/test.yml

@@ -22,15 +22,15 @@ jobs:
           poetry-version: "1.3.1"
       - name: install dependencies
         run: |
-          poetry add numpy==1.21.6 opencv-python==4.6.0.66 --python "<=3.7"
-          poetry add opencv-python --python ">=3.8"
+          poetry config virtualenvs.create false
           poetry install
+          pip install opencv-python opencv-contrib-python-headless
       - name: test startup
-        run: poetry run ./test_startup.sh
+        run: ./test_startup.sh
       - name: setup chromedriver
         uses: nanasess/setup-chromedriver@v1
       - name: pytest
-        run: poetry run pytest
+        run: pytest
 
   slack:
     needs: