cache-dependency-path: setup.py

This commit is contained in:
Simon Willison 2025-11-23 10:31:14 -08:00
commit 5073a2b1bd
5 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install -e '.[test]'
@ -34,6 +35,7 @@ jobs:
with:
python-version: '3.13'
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install setuptools wheel twine

View file

@ -12,6 +12,7 @@ jobs:
with:
python-version: "3.12"
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install -e '.[docs]'

View file

@ -18,6 +18,7 @@ jobs:
with:
python-version: "3.11"
cache: pip
cache-dependency-path: setup.py
- name: Install SpatiaLite
run: sudo apt-get install libsqlite3-mod-spatialite
- name: Install Python dependencies

View file

@ -26,6 +26,7 @@ jobs:
allow-prereleases: true
cache: pip
cache-dependency-path: setup.py
cache-dependency-path: setup.py
- name: Set up SQLite ${{ matrix.sqlite-version }}
uses: asg017/sqlite-versions@71ea0de37ae739c33e447af91ba71dda8fcf22e6
with:

View file

@ -21,6 +21,7 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
pip install -e '.[test,mypy,flake8]'