mirror of
https://github.com/aimingmed/aimingmed-ai.git
synced 2026-02-08 00:03:15 +08:00
install python 3.11
This commit is contained in:
parent
2a50cc697d
commit
39b52fafac
5
.github/workflows/develop.yml
vendored
5
.github/workflows/develop.yml
vendored
@ -120,7 +120,10 @@ jobs:
|
|||||||
run: free -h
|
run: free -h
|
||||||
- name: Run Pytest directly
|
- name: Run Pytest directly
|
||||||
run: |
|
run: |
|
||||||
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && cd ./app/backend/ && pipenv install && pipenv run python -m pytest --disable-warnings
|
# install python 3.11 and pip3
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y python3.11 python3.11-distutils
|
||||||
|
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pipenv && cd ./app/backend/ && pipenv install && pipenv run python -m pytest --disable-warnings
|
||||||
- name: Pytest
|
- name: Pytest
|
||||||
run: docker exec backend pipenv run python -m pytest -v
|
run: docker exec backend pipenv run python -m pytest -v
|
||||||
# - name: Flake8
|
# - name: Flake8
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user