Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee0db78

Browse files
committed
Add a bunch of new python versions (and pypy) to the CI
1 parent 69a7a69 commit ee0db78

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v3
1919
with:
20-
python-version: "3.8"
20+
python-version: "3.10"
2121
- name: Install checkers
2222
run: |
2323
python -mpip install --upgrade pip
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
python-version: ["2.7", "3.6", "3.7", "3.8"]
35+
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11.0-alpha.7", "pypy-3.8"]
3636

3737
steps:
3838
- name: Checkout working copy
@@ -48,7 +48,7 @@ jobs:
4848
- name: tests
4949
run: |
5050
python setup.py develop
51-
python ./ua_parser/user_agent_parser_test.py
51+
env time -v python ./ua_parser/user_agent_parser_test.py
5252
- name: doctests
5353
# pprint formatting was changed a lot in 3.5
5454
if: ${{ matrix.python-version != '2.7' }}

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ class sdist(_sdist):
216216
"Programming Language :: Python :: 3.6",
217217
"Programming Language :: Python :: 3.7",
218218
"Programming Language :: Python :: 3.8",
219+
"Programming Language :: Python :: 3.9",
220+
"Programming Language :: Python :: 3.10",
219221
"Programming Language :: Python :: Implementation :: CPython",
220222
"Programming Language :: Python :: Implementation :: PyPy",
221223
],

0 commit comments

Comments
 (0)