Skip to content

Commit

Permalink
Exclude testing py38+py39 with djmain
Browse files Browse the repository at this point in the history
...to fix the remaining failing tests.
This is due to Django's `main` branch now requiring Python >=3.10.

Example of the errors:
https://github.com/jazzband/django-simple-history/actions/runs/4108104757/jobs/7088396098.
  • Loading branch information
ddabble committed Feb 6, 2023
1 parent 0fcc722 commit c971c14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- python-version: '3.7'
django-version: 'main'

- python-version: '3.8'
django-version: 'main'

- python-version: '3.9'
django-version: 'main'

- python-version: '3.11'
django-version: '3.2'
- python-version: '3.11'
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[tox]
envlist =
py{37,38,39,310}-dj32-{sqlite3,postgres,mysql,mariadb},
py{38,39,310}-dj{40,41,main}-{sqlite3,postgres,mysql,mariadb},
py{38,39}-dj{40,41}-{sqlite3,postgres,mysql,mariadb},
py310-dj{40,41,main}-{sqlite3,postgres,mysql,mariadb},
py311-dj{41,main}-{sqlite3,postgres,mysql,mariadb},
docs,
lint
Expand Down

0 comments on commit c971c14

Please sign in to comment.