Skip to content

Commit

Permalink
Update tested Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
public committed Dec 27, 2021
1 parent 7478641 commit 3c4dbba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ workflows:
- build-sonora-images
- build-grpcweb-images
- test-py37
- test-py38
- test-py39
- test-py310
- lint
- interop-grpcweb-wsgi:
requires:
Expand Down Expand Up @@ -67,9 +67,9 @@ jobs:
key: benchmarks-{{ .Environment.CIRCLE_JOB }}-{{ .Branch }}-{{ .Revision }}
paths:
- .benchmarks
test-py38:
test-py39:
docker:
- image: circleci/python:3.8
- image: circleci/python:3.9
steps:
- checkout
- run: sudo apt-get install python3-dev libev-dev
Expand All @@ -80,14 +80,14 @@ jobs:
- run: poetry install
- restore_cache:
key: benchmarks-{{ .Environment.CIRCLE_JOB }}-master
- run: poetry run tox -e py38 -- --benchmark-save=${CIRCLE_BRANCH} --benchmark-compare
- run: poetry run tox -e py39 -- --benchmark-save=${CIRCLE_BRANCH} --benchmark-compare
- save_cache:
key: benchmarks-{{ .Environment.CIRCLE_JOB }}-{{ .Branch }}-{{ .Revision }}
paths:
- .benchmarks
test-py39:
test-py310:
docker:
- image: circleci/python:3.9
- image: circleci/python:3.10
steps:
- checkout
- run: sudo apt-get install python3-dev libev-dev
Expand All @@ -98,7 +98,7 @@ jobs:
- run: poetry install
- restore_cache:
key: benchmarks-{{ .Environment.CIRCLE_JOB }}-master
- run: poetry run tox -e py39 -- --benchmark-save=${CIRCLE_BRANCH} --benchmark-compare
- run: poetry run tox -e py310 -- --benchmark-save=${CIRCLE_BRANCH} --benchmark-compare
- save_cache:
key: benchmarks-{{ .Environment.CIRCLE_JOB }}-{{ .Branch }}-{{ .Revision }}
paths:
Expand Down
5 changes: 3 additions & 2 deletions .python-version
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
3.7.6
3.8.1
3.7.11
3.9.2
3.10.1
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,black
envlist = py37,py39,py310,black
isolated_build = True

[testenv]
Expand Down

0 comments on commit 3c4dbba

Please sign in to comment.