diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9f292c7..2be80cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,6 @@ stages: - build-docker - deploy -variables: - GIT_DEPTH: 1 - cache: key: one-key-to-rule-them-all paths: @@ -90,8 +87,10 @@ zy: tags: - zy before_script: - - pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple - - pip install -r requirements.txt + - pip install uv + - uv venv --python 3.12 $HOME/venv + - source $HOME/venv/bin/activate + - uv pip install -r requirements.txt --default-index https://pypi.tuna.tsinghua.edu.cn/simple script: - make fetch - date \ No newline at end of file