Update CI workflow to install Python dependencies with --break-system-packages option
This commit is contained in:
		| @ -35,12 +35,7 @@ jobs: | ||||
|  | ||||
|       - name: 安装后端依赖 | ||||
|         working-directory: back | ||||
|         run: pip3 install -r requirements.txt | ||||
|  | ||||
|       - name: 运行后端测试(如有) | ||||
|         working-directory: back | ||||
|         run: | | ||||
|           if [ -f tests/test.py ]; then python3 -m unittest discover -s tests; fi | ||||
|         run: pip3 install --break-system-packages -r requirements.txt | ||||
|  | ||||
|       - name: 构建 Docker 镜像 | ||||
|         run: docker-compose build  | ||||
		Reference in New Issue
	
	Block a user