Skip to content

Commit 1973d78

Browse files
committed
update tox
1 parent fa215a3 commit 1973d78

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pip install tox
2828
2929
- name: Run package benchmarks
30-
run: tox -e py39-bench-packages -- --benchmark-min-rounds 20 --benchmark-json bench-packages.json
30+
run: tox -e py310-bench-packages -- --benchmark-min-rounds 20 --benchmark-json bench-packages.json
3131

3232
# - name: Upload package data
3333
# uses: actions/upload-artifact@v3

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
pip install tox
9999
100100
- name: Run benchmark
101-
run: tox -e py39-bench-core -- --benchmark-json bench-core.json
101+
run: tox -e py310-bench-core -- --benchmark-json bench-core.json
102102

103103
- name: Upload data
104104
uses: actions/upload-artifact@v4

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This can also be used to run benchmarking tests using [pytest-benchmark](https:/
5050

5151
```shell
5252
>> cd markdown-it-py
53-
tox -e py39-bench-packages -- --benchmark-min-rounds 50
53+
tox -e py310-bench-packages -- --benchmark-min-rounds 50
5454
```
5555

5656
For documentation build tests:

tox.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
# then run `tox` or `tox -- {pytest args}`
55
# run in parallel using `tox -p`
66
[tox]
7-
envlist = py39
7+
envlist = py310
88

99
[testenv]
1010
usedevelop = true
1111

12-
[testenv:py{39,310,311,312,313}]
12+
[testenv:py{310,311,312,313}]
1313
extras =
1414
linkify
1515
testing
1616
commands = pytest {posargs:tests/}
1717

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

30-
[testenv:py{39,310,311,312,313}-bench-core]
30+
[testenv:py{310,311,312,313}-bench-core]
3131
extras = benchmarking
3232
commands = pytest benchmarking/bench_core.py {posargs}
3333

34-
[testenv:py{39,310,311,312,313}-bench-packages]
34+
[testenv:py{310,311,312,313}-bench-packages]
3535
extras = benchmarking,compare
3636
commands = pytest benchmarking/bench_packages.py {posargs}
3737

0 commit comments

Comments
 (0)