Skip to content

Develop: 迁移使用 uv 管理项目依赖 #252

Develop: 迁移使用 uv 管理项目依赖

Develop: 迁移使用 uv 管理项目依赖 #252

Workflow file for this run

name: Code Coverage
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
name: Test Coverage
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v6
- name: Setup Python environment
uses: ./.github/actions/setup-python
with:
python-version: ${{ matrix.python-version }}
- name: Run Pytest
run: uv run pytest --cov-report xml
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: unittests
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}