Skip to content

Commit 689881d

Browse files
committed
[appyevor] run pytest using tox
1 parent 6e98933 commit 689881d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ build_script:
6464
test_script:
6565
# TODO: Force cross-compatibility tests
6666
# - python setup.py test --addopts "--force-compat"
67-
- python setup.py test --addopts "-nauto"
67+
# - python setup.py test --addopts "-nauto"
68+
- py -m tox
6869

6970
after_test:
7071
- ps: mkdir "$env:DEPLOY_DIR"

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# tox.ini
2+
3+
[tox]
4+
envlist = py3{8,9,10,11,12,ruff}
5+
6+
[testenv]
7+
description = Unit tests
8+
deps = pytest
9+
commands = pytest

0 commit comments

Comments
 (0)