Skip to content

Commit 55fdb74

Browse files
committed
add 3.13 to CI matrix, only publish to test pypi on release tags
1 parent fad3e74 commit 55fdb74

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
# run static analysis on bleeding and trailing edges
21-
python-version: [ '3.8', '3.10', '3.12' ]
21+
python-version: [ '3.8', '3.10', '3.13' ]
2222
django-version:
2323
- '3.2' # LTS April 2024
2424
- '4.2' # LTS April 2026
@@ -27,9 +27,9 @@ jobs:
2727
exclude:
2828
- python-version: '3.8'
2929
django-version: '4.2'
30-
- python-version: '3.12'
30+
- python-version: '3.13'
3131
django-version: '4.2'
32-
- python-version: '3.12'
32+
- python-version: '3.13'
3333
django-version: '3.2'
3434
- python-version: '3.10'
3535
django-version: '3.2'

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
101101
publish-to-testpypi:
102102
name: Publish Python 🐍 distribution 📦 to TestPyPI
103+
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
103104
needs:
104105
- build
105106
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13.0-rc.2']
22+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
2323
django-version:
2424
- '3.2' # LTS April 2024
2525
- '4.2' # LTS April 2026
@@ -38,11 +38,11 @@ jobs:
3838
django-version: '5.1'
3939
- python-version: '3.9'
4040
django-version: '5.1'
41-
- python-version: '3.13.0-rc.2'
41+
- python-version: '3.13'
4242
django-version: '3.2'
43-
- python-version: '3.13.0-rc.2'
43+
- python-version: '3.13'
4444
django-version: '4.2'
45-
- python-version: '3.13.0-rc.2'
45+
- python-version: '3.13'
4646
django-version: '5.0'
4747

4848
steps:
@@ -58,7 +58,7 @@ jobs:
5858
virtualenvs-create: true
5959
virtualenvs-in-project: true
6060
- name: Install libopenblas-dev
61-
if: matrix.python-version == '3.13.0-rc.2'
61+
if: matrix.python-version == '3.13'
6262
run: sudo apt-get install libopenblas-dev
6363
- name: Install Release Dependencies
6464
run: |

0 commit comments

Comments
 (0)