Skip to content

Commit

Permalink
Set up test envs for Python 3.10
Browse files Browse the repository at this point in the history
We should've been testing for Python 3.10 for a long time now, it's
time to start!

fixxup
  • Loading branch information
lunkwill42 authored and hmpf committed Mar 1, 2024
1 parent 459cb29 commit f350679
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
python3.7-dbg python3.7-dev python3.7-distutils \
python3.8-dbg python3.8-dev \
python3.9-dbg python3.9-dev \
python3.10-dbg python3.10-dev \
python3-pip

RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
# When changing the python or django version also change it in the tox example
# of the documentation in hacking.rst
[tox]
envlist = {unit,integration,functional}-py{37,38,39}-django{32}, javascript, docs
envlist =
{unit,integration,functional}-py{37,38,39,310}-django{32}
javascript
docs
skipsdist = True
basepython = python3.7

Expand All @@ -20,6 +23,7 @@ python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310

[testenv]
# Baseline test environment
Expand Down

0 comments on commit f350679

Please sign in to comment.