From 7d8b164caed82b51febdba0a8b19190a24670abf Mon Sep 17 00:00:00 2001 From: LufsX Date: Mon, 23 Sep 2024 05:39:19 +0800 Subject: [PATCH] chore: fix actions --- .gitea/workflows/test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 4157214..ca0ee22 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,6 +14,7 @@ jobs: run: | curl -s -o pip_cache.tar.gz ${{ vars.EXP_URL }}/download/pip_cache.tar.gz tar -zxf pip_cache.tar.gz + sed -i "s|VIRTUAL_ENV=\".*\"|VIRTUAL_ENV=\"$(pwd)\.venv\"|" ./.venv/bin/activate python -m venv ./.venv . ./.venv/bin/activate pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple