File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 3838 uses : actions/setup-python@v6
3939 with :
4040 python-version : ${{ matrix.python-version }}
41- - name : Install dependencies
41+ - name : Install uv
42+ uses : astral-sh/setup-uv@v4
43+ with :
44+ enable-cache : true
45+ cache-dependency-glob : " pyproject.toml"
46+ - name : Cache hatch environments
47+ uses : actions/cache@v4
48+ with :
49+ path : |
50+ ~/.local/share/hatch
51+ ~/.cache/hatch
52+ key : hatch-${{ runner.os }}-py${{ matrix.python-version }}-django${{ matrix.django-version }}-${{ hashFiles('pyproject.toml') }}
53+ restore-keys : |
54+ hatch-${{ runner.os }}-py${{ matrix.python-version }}-django${{ matrix.django-version }}-
55+ hatch-${{ runner.os }}-py${{ matrix.python-version }}-
56+ - name : Install hatch with uv
4257 run : |
43- python -m pip install --upgrade hatch
58+ uv tool install hatch
4459 - name : Run tests for Python ${{ matrix.python-version }} and Django ${{ matrix.django-version }} on ${{ matrix.os }} with coverage report
4560 run : |
4661 hatch run test.py${{ matrix.python-version }}-${{ matrix.django-version }}:cov
Original file line number Diff line number Diff line change 11# django-admin-contexts
22
3- ![ Python Compatibility] ( https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue.svg )
3+ ![ Python Compatibility] ( https://img.shields.io/badge/python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13%20%7C%203.14 -blue.svg )
44![ Django Compatibility] ( https://img.shields.io/badge/django-4.2%20|%205.0%20|%205.1%20|%205.2-%2344B78B?labelColor=%23092E20 )
55[ ![ PyPi Version] ( https://img.shields.io/pypi/v/django-admin-contexts.svg )] ( https://pypi.python.org/pypi/django-admin-contexts )
66![ CI badge] ( https://github.com/matagus/django-admin-contexts/actions/workflows/ci.yml/badge.svg )
@@ -101,7 +101,7 @@ Please read [Contributing.md](CONTRIBUTING.md) for detailed instructions on how
101101License
102102=======
103103
104- ` django-admin-contexts ` is released under an BSD License - see the ` LICENSE ` file for more information.
104+ ` django-admin-contexts ` is released under a BSD License
105105
106106
107107Acknowledgements
You can’t perform that action at this time.
0 commit comments