Skip to content

Commit

Permalink
add python3.9~3.12 ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhi.wx committed Feb 8, 2024
1 parent 4645151 commit e724b16
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 2 deletions.
64 changes: 62 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo Failed waiting for MySQL && exit 1
- run:
command: |
sudo pip install tox
pip install tox
- run:
command: | # tell the operating system to remove the file size limit on core dump files
ulimit -c unlimited
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
py38:
docker:
# Primary container image where all steps run.
- image: circleci/python:3.8.2
- image: cimg/python:3.8
environment:
TOXENV: py38
# MySQL env for mysql queue tests
Expand All @@ -125,6 +125,62 @@ jobs:
MYSQL_USER: user
MYSQL_PASSWORD: passw0rd
steps: *common_steps
py39:
docker:
# Primary container image where all steps run.
- image: cimg/python:3.9
environment:
TOXENV: py39
# MySQL env for mysql queue tests
- image: circleci/mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: testqueue
MYSQL_USER: user
MYSQL_PASSWORD: passw0rd
steps: *common_steps
py310:
docker:
# Primary container image where all steps run.
- image: cimg/python:3.10
environment:
TOXENV: py310
# MySQL env for mysql queue tests
- image: circleci/mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: testqueue
MYSQL_USER: user
MYSQL_PASSWORD: passw0rd
steps: *common_steps
py311:
docker:
# Primary container image where all steps run.
- image: cimg/python:3.11
environment:
TOXENV: py311
# MySQL env for mysql queue tests
- image: circleci/mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: testqueue
MYSQL_USER: user
MYSQL_PASSWORD: passw0rd
steps: *common_steps
py312:
docker:
# Primary container image where all steps run.
- image: cimg/python:3.12
environment:
TOXENV: py312
# MySQL env for mysql queue tests
- image: circleci/mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 123456
MYSQL_DATABASE: testqueue
MYSQL_USER: user
MYSQL_PASSWORD: passw0rd
steps: *common_steps

pep8:
docker:
Expand Down Expand Up @@ -168,4 +224,8 @@ workflows:
- py36
- py37
- py38
- py39
- py310
- py311
- py312
- cover
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ def get_extras():
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries'
],
)

0 comments on commit e724b16

Please sign in to comment.