Skip to content

Commit

Permalink
Expand the test matrix to include python 3.10 / django 3.2
Browse files Browse the repository at this point in the history
Django 3.2.9 added support for python 3.10, but older versions still
list the maximum supported version as 3.9.

https://docs.djangoproject.com/en/3.2/faq/install/

This adds python 3.10 / django 3.2 to the test matrix, and builds a
xapian wheel for python 3.10.

Version numbers changed to strings for consistency. Python 3.10 needs
to be quoted because it would otherwise be interpreted as 3.1.
  • Loading branch information
asedeno authored and claudep committed Nov 14, 2021
1 parent f1c3c30 commit c53d9ab
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -10,8 +10,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.9]
xapian-version: [1.4.18]
python-version: ['3.6', '3.9', '3.10']
xapian-version: ['1.4.18']

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -41,9 +41,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.9]
django-version: [2.2, 3.1, 3.2]
xapian-version: [1.4.18]
python-version: ['3.6', '3.9']
django-version: ['2.2', '3.1', '3.2']
xapian-version: ['1.4.18']
include:
# Django added python 3.10 support in 3.2.9
- python-version: '3.10'
django-version: '3.2'
xapian-version: '1.4.18'

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit c53d9ab

Please sign in to comment.