🧑‍💻 Dev: 迁移使用 uv 管理项目依赖 (#3607)

This commit is contained in:
Ju4tCode
2025-07-31 21:52:24 +08:00
committed by GitHub
parent c45f956c3d
commit d6bc43057e
28 changed files with 3433 additions and 9944 deletions

View File

@ -13,7 +13,7 @@ on:
- ".github/actions/setup-python/**"
- ".github/workflows/codecov.yml"
- "pyproject.toml"
- "poetry.lock"
- "uv.lock"
jobs:
test:
@ -40,13 +40,11 @@ jobs:
uses: ./.github/actions/setup-python
with:
python-version: ${{ matrix.python-version }}
env-dir: ./envs/${{ matrix.env }}
no-root: true
env-group: ${{ matrix.env }}
- name: Run Pytest
run: |
cd ./envs/${{ matrix.env }}
poetry run bash "../../scripts/run-tests.sh"
uv run --no-sync bash ./scripts/run-tests.sh
- name: Upload test results
uses: codecov/test-results-action@v1