浏览代码

trying without virtualenvs

Rodja Trappe 2 年之前
父节点
当前提交
2dee682710
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      .github/workflows/test.yml

+ 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: