Skip to content

Commit d548304

Browse files
committed
🧪 TESTS: Test against python3.10
1 parent cde6906 commit d548304

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
- name: Set up Python 3.8
2424
uses: actions/setup-python@v2
2525
with:
26-
python-version: 3.8
26+
python-version: '3.8'
2727
- uses: pre-commit/action@v2.0.0
2828

2929
tests:
3030

3131
runs-on: ubuntu-latest
3232
strategy:
3333
matrix:
34-
python-version: [pypy-3.6, 3.6, 3.7, 3.8, 3.9]
34+
python-version: ['pypy-3.6', '3.6', '3.7', '3.8', '3.9', '3.10']
3535

3636
steps:
3737
- uses: actions/checkout@v2
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
pytest --cov=markdown_it --cov-report=xml --cov-report=term-missing
4949
- name: Upload to Codecov
50-
if: matrix.python-version == 3.7 && github.repository == 'executablebooks/markdown-it-py'
50+
if: matrix.python-version == '3.7' && github.repository == 'executablebooks/markdown-it-py'
5151
uses: codecov/codecov-action@v1
5252
with:
5353
name: markdown-it-py-pytests-py3.7
@@ -60,7 +60,7 @@ jobs:
6060
runs-on: ubuntu-latest
6161
strategy:
6262
matrix:
63-
python-version: [3.8]
63+
python-version: ['3.8']
6464
steps:
6565
- uses: actions/checkout@v2
6666
- name: Set up Python ${{ matrix.python-version }}
@@ -87,7 +87,7 @@ jobs:
8787
- name: Set up Python 3.8
8888
uses: actions/setup-python@v2
8989
with:
90-
python-version: 3.8
90+
python-version: '3.8'
9191

9292
- name: Install tox
9393
run: |
@@ -116,7 +116,7 @@ jobs:
116116
- name: Set up Python 3.7
117117
uses: actions/setup-python@v2
118118
with:
119-
python-version: 3.7
119+
python-version: '3.7'
120120
- name: Build package
121121
run: |
122122
pip install wheel

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers =
1818
Programming Language :: Python :: 3.7
1919
Programming Language :: Python :: 3.8
2020
Programming Language :: Python :: 3.9
21+
Programming Language :: Python :: 3.10
2122
Programming Language :: Python :: Implementation :: CPython
2223
Programming Language :: Python :: Implementation :: PyPy
2324
Topic :: Software Development :: Libraries :: Python Modules

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ envlist = py37
99
[testenv]
1010
usedevelop = true
1111

12-
[testenv:py{36,37,38,39}]
12+
[testenv:py{36,37,38,39,310}]
1313
extras =
1414
linkify
1515
testing
1616
commands = pytest {posargs}
1717

18-
[testenv:py{36,37,38,39}-plugins]
18+
[testenv:py{36,37,38,39,310}-plugins]
1919
extras = testing
2020
changedir = {envtmpdir}
2121
allowlist_externals =
@@ -27,7 +27,7 @@ commands_pre =
2727
commands =
2828
pytest {posargs}
2929

30-
[testenv:py{36,37,38,39}-bench-core]
30+
[testenv:py{36,37,38,39,310}-bench-core]
3131
extras = testing
3232
commands = pytest benchmarking/bench_core.py {posargs}
3333

0 commit comments

Comments
 (0)