Run coverage on Python 3.12

- #2245

I hoped this would run slightly faster than 3.9 but there doesn't appear to be a performance improvement.
pull/2257/head
Simon Willison 2024-01-31 15:31:26 -08:00 zatwierdzone przez GitHub
rodzic bcc4f6bf1f
commit 2e4a03b2c4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 5 dodań i 10 usunięć

Wyświetl plik

@ -15,18 +15,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out datasette
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
python-version: '3.12'
cache: 'pip'
cache-dependency-path: '**/setup.py'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip