Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
enable-cache: true
- name: Install dependencies
run: uv sync --extra dev
run: uv sync --dev
- name: Lint (ruff format --check)
run: uv run ruff format --check
- name: Lint (ruff check)
Expand Down Expand Up @@ -54,7 +54,12 @@ jobs:
enable-cache: true
- name: Install dependencies
run: |
uv sync --extra dev
uv sync --dev
uv pip install "django~=${{ matrix.django-version }}"
- name: Test (pytest)
run: uv run pytest -v
run: uv run pytest --verbose --cov=./django_elastipymemcache --cov-report=xml
- name: Upload test results to Codecov
if: ${{ matrix.python-version == '3.14' && matrix.django-version == '5.2' }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# django-elastipymemcache

[![Coverage](https://codecov.io/gh/harikitech/django-elastipymemcache/branch/master/graph/badge.svg)](https://codecov.io/gh/harikitech/django-elastipymemcache)
[![codecov](https://codecov.io/github/harikitech/django-elastipymemcache/graph/badge.svg?token=QJGzpfbkCv)](https://codecov.io/github/harikitech/django-elastipymemcache)

## Overview

Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,22 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = [
"pymemcache>=4.0",
"Django>=4.2",
"pymemcache>=4.0",
]
dynamic = [
"version",
]

[project.optional-dependencies]
[dependency-groups]
dev = [
"coverage[toml]>=7.11",
"django-stubs[compatible-mypy]>=4.2",
"mypy>=1.18",
"pytest>=8.0",
"pytest-cov>=7.0.0",
"pytest-django>=4.11",
"coverage[toml]>=7.11",
"ruff>=0.14.1",
"mypy>=1.18",
"django-stubs[compatible-mypy]>=4.2",
]

[tool.pytest.ini_options]
Expand Down
35 changes: 27 additions & 8 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.