File tree Expand file tree Collapse file tree 4 files changed +42
-17
lines changed Expand file tree Collapse file tree 4 files changed +42
-17
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 enable-cache : true
2727 - name : Install dependencies
28- run : uv sync --extra dev
28+ run : uv sync --dev
2929 - name : Lint (ruff format --check)
3030 run : uv run ruff format --check
3131 - name : Lint (ruff check)
5454 enable-cache : true
5555 - name : Install dependencies
5656 run : |
57- uv sync --extra dev
57+ uv sync --dev
5858 uv pip install "django~=${{ matrix.django-version }}"
5959 - name : Test (pytest)
60- run : uv run pytest -v
60+ run : uv run pytest --verbose --cov=./django_elastipymemcache --cov-report=xml
61+ - name : Upload test results to Codecov
62+ if : ${{ matrix.python-version == '3.14' && matrix.django-version == '5.2' }}
63+ uses : codecov/codecov-action@v5
64+ with :
65+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11# django-elastipymemcache
22
3- [ ![ Coverage ] ( https://codecov.io/gh /harikitech/django-elastipymemcache/branch/master/ graph/badge.svg )] ( https://codecov.io/gh /harikitech/django-elastipymemcache )
3+ [ ![ codecov ] ( https://codecov.io/github /harikitech/django-elastipymemcache/graph/badge.svg?token=QJGzpfbkCv )] ( https://codecov.io/github /harikitech/django-elastipymemcache )
44
55## Overview
66
Original file line number Diff line number Diff line change @@ -30,21 +30,22 @@ classifiers = [
3030 " Operating System :: OS Independent" ,
3131]
3232dependencies = [
33- " pymemcache>=4.0" ,
3433 " Django>=4.2" ,
34+ " pymemcache>=4.0" ,
3535]
3636dynamic = [
3737 " version" ,
3838]
3939
40- [project . optional-dependencies ]
40+ [dependency-groups ]
4141dev = [
42+ " coverage[toml]>=7.11" ,
43+ " django-stubs[compatible-mypy]>=4.2" ,
44+ " mypy>=1.18" ,
4245 " pytest>=8.0" ,
46+ " pytest-cov>=7.0.0" ,
4347 " pytest-django>=4.11" ,
44- " coverage[toml]>=7.11" ,
4548 " ruff>=0.14.1" ,
46- " mypy>=1.18" ,
47- " django-stubs[compatible-mypy]>=4.2" ,
4849]
4950
5051[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments