|  | 
| 7 | 7 |  push: | 
| 8 | 8 |  tags-ignore: | 
| 9 | 9 |  - '*' | 
| 10 |  | - branches: | 
| 11 |  | - - '*' | 
|  | 10 | + branches: ['main'] | 
| 12 | 11 |  pull_request: | 
|  | 12 | + branches: ['main'] | 
| 13 | 13 |  workflow_call: | 
| 14 | 14 |  workflow_dispatch: | 
| 15 | 15 |  inputs: | 
|  | 
| 41 | 41 |  - '4.2' # LTS April 2026 | 
| 42 | 42 |  - '5.1' # December 2025 | 
| 43 | 43 |  - '5.2' # LTS April 2028 | 
|  | 44 | + - '6.0a1' # alpha prerelease | 
| 44 | 45 |  exclude: | 
| 45 | 46 |  - django-version: '4.2' | 
| 46 | 47 |  postgres-version: '9.6' | 
|  | 
| 91 | 92 |  # https://github.com/psycopg/psycopg2/pull/1695 | 
| 92 | 93 |  - python-version: '3.14' | 
| 93 | 94 |  psycopg-version: 'psycopg2' | 
|  | 95 | + | 
|  | 96 | + - postgres-version: '9.6' | 
|  | 97 | + django-version: '6.0a1' | 
|  | 98 | + - postgres-version: '12' | 
|  | 99 | + django-version: '6.0a1' | 
|  | 100 | + - python-version: '3.9' | 
|  | 101 | + django-version: '6.0a1' | 
|  | 102 | + - python-version: '3.10' | 
|  | 103 | + django-version: '6.0a1' | 
|  | 104 | + - python-version: '3.11' | 
|  | 105 | + django-version: '6.0a1' | 
|  | 106 | + - python-version: '3.12' | 
|  | 107 | + django-version: '6.0a1' | 
|  | 108 | + - python-version: '3.13' | 
|  | 109 | + django-version: '6.0a1' | 
| 94 | 110 | 
 | 
| 95 | 111 |  env: | 
| 96 | 112 |  RDBMS: postgres | 
| @@ -138,9 +154,14 @@ jobs: | 
| 138 | 154 |  - name: Setup Just | 
| 139 | 155 |  uses: extractions/setup-just@v3 | 
| 140 | 156 |  - name: Install Release Dependencies | 
|  | 157 | + shell: bash | 
| 141 | 158 |  run: | | 
| 142 | 159 |  just setup ${{ steps.sp.outputs.python-path }} | 
| 143 |  | - just test-lock "Django~=${{ matrix.django-version }}.0" | 
|  | 160 | + if [[ "${{ matrix.django-version }}" =~ (a|b|rc) ]]; then | 
|  | 161 | + just test-lock Django==${{ matrix.django-version }} | 
|  | 162 | + else | 
|  | 163 | + just test-lock Django~=${{ matrix.django-version }}.0 | 
|  | 164 | + fi | 
| 144 | 165 |  - name: Install Emacs | 
| 145 | 166 |  if: ${{ github.event.inputs.debug == 'true' }} | 
| 146 | 167 |  run: | | 
| @@ -315,6 +336,7 @@ jobs: | 
| 315 | 336 |  - name: Setup Just | 
| 316 | 337 |  uses: extractions/setup-just@v3 | 
| 317 | 338 |  - name: Install Release Dependencies | 
|  | 339 | + shell: bash | 
| 318 | 340 |  run: | | 
| 319 | 341 |  just setup ${{ steps.sp.outputs.python-path }} | 
| 320 | 342 |  just test-lock Django~=${{ matrix.django-version }}.0 | 
|  | 
0 commit comments