mirror of
https://github.com/simonw/datasette.git
synced 2026-09-17 14:04:07 +02:00
Slim down CI runs per commit (#2911)
- Only run push-triggered workflows on main; PRs are covered by pull_request, so branch commits no longer run everything twice - Test SQLite versions: single job, Python 3.13 + SQLite 3.25 - Fold coverage into the Python 3.14 test job (including serial tests) and remove test-coverage.yml; bump codecov-action to v5 - Cancel superseded in-progress runs on pull requests - Prettier now also runs on pull requests Claude-Session: https://claude.ai/code/session_012G7fa8HqJy9AkSjkocetAz
This commit is contained in:
parent
b338c6f5f6
commit
063eeae83d
7 changed files with 74 additions and 48 deletions
15
.github/workflows/test-sqlite-support.yml
vendored
15
.github/workflows/test-sqlite-support.yml
vendored
|
|
@ -1,6 +1,15 @@
|
|||
name: Test SQLite versions
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -12,10 +21,10 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
platform: [ubuntu-latest]
|
||||
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
||||
python-version: ["3.13"]
|
||||
sqlite-version: [
|
||||
#"3", # latest version
|
||||
"3.46",
|
||||
#"3.46",
|
||||
#"3.45",
|
||||
#"3.27",
|
||||
#"3.26",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue