Merge branch 'main' into dependabot/npm_and_yarn/docs/easyops-cn/docu… #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #name: Coverage | |
| # | |
| #on: | |
| # push: | |
| # branches: [ main ] | |
| # workflow_dispatch: | |
| # | |
| #permissions: | |
| # contents: read | |
| # id-token: write | |
| # | |
| #jobs: | |
| # coverage: | |
| # name: Upload coverage to Codecov | |
| # runs-on: self-hosted | |
| # | |
| # steps: | |
| # - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| # with: | |
| # persist-credentials: false | |
| # | |
| # - name: Install uv | |
| # uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2 | |
| # | |
| # - name: Set up Python | |
| # run: uv python install 3.14 | |
| # | |
| # - name: Install dependencies | |
| # run: uv sync --group dev --python 3.14 | |
| # | |
| # - name: Run tests with coverage | |
| # run: > | |
| # uv run --python 3.14 pytest | |
| # --cov=django_gc | |
| # --cov-report=xml | |
| # --cov-report=term-missing | |
| # | |
| # - name: Upload coverage to Codecov | |
| # uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5 | |
| # with: | |
| # files: ./coverage.xml | |
| # flags: unit | |
| # name: django-gc-unit | |
| # fail_ci_if_error: true | |
| # use_oidc: true | |
| # | |
| # - name: Clean up runner artifacts | |
| # if: always() | |
| # run: | | |
| # rm -rf .venv .pytest_cache .ruff_cache .coverage coverage.xml htmlcov | |
| # find . -type d -name "__pycache__" -prune -exec rm -rf {} + |