install pipenv on host

This commit is contained in:
leehk 2025-04-13 19:25:33 +08:00
parent d2b85fb428
commit 2a50cc697d

View File

@ -120,7 +120,7 @@ jobs:
run: free -h
- name: Run Pytest directly
run: |
cd ./app/backend/ && pipenv install && pipenv run python -m pytest --disable-warnings
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && cd ./app/backend/ && pipenv install && pipenv run python -m pytest --disable-warnings
- name: Pytest
run: docker exec backend pipenv run python -m pytest -v
# - name: Flake8