Skip to content

Commit 9b5cea5

Browse files
rh0diumclaude
andauthored
Feature/optimized ci workflow (#16)
* Optimize CI workflow: separate tests and release - Move release job to separate release.yml triggered only on master push - Add PR verification to release workflow (prevents releases from admin bypasses) - Rename job display names to generic: Lint, Security, Coverage - Skip expensive jobs (tests, coverage, outdated) on merge queue branches - Keep Lint and Security running for merge queue status checks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Simplify test matrix to match simulation repo - Python 3.13 / Django 5.2 / SQLite (fast feedback) - Python 3.13 / Django 5.2 / MariaDB (production) - Python 3.14 / Django 6.0 / MariaDB (experimental) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Fixes --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent cc03418 commit 9b5cea5

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,26 @@ jobs:
8585

8686
tests:
8787
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') }}
88-
name: Python ${{ matrix.python-version }} / ${{ matrix.db }} / Django ${{ matrix.django-version}}
88+
name: Python ${{ matrix.python-version }} / ${{ matrix.db }} / Django ${{ matrix.django-version }}${{ matrix.experimental && ' (experimental)' || '' }}
8989
runs-on: ubuntu-latest
90-
continue-on-error: ${{ matrix.django-version == '~=6.0' || matrix.python-version == '3.14' }}
90+
continue-on-error: ${{ matrix.experimental || false }}
9191
strategy:
92-
max-parallel: 6
92+
max-parallel: 3
9393
matrix:
94-
db: [ sqlite, mariadb ]
95-
django-version: [ "~=5.2", "~=6.0" ]
96-
python-version: ["3.12", "3.13", "3.14" ]
97-
exclude:
98-
- python-version: "3.12"
94+
include:
95+
# Fast feedback with SQLite
96+
- python-version: "3.13"
97+
django-version: "~=5.2"
98+
db: sqlite
99+
# Production configuration
100+
- python-version: "3.13"
101+
django-version: "~=5.2"
102+
db: mariadb
103+
# Future-proofing (experimental - allowed to fail)
104+
- python-version: "3.14"
99105
django-version: "~=6.0"
106+
db: mariadb
107+
experimental: true
100108

101109
services:
102110
mariadb:

0 commit comments

Comments
 (0)