Skip to content

Commit 506fe43

Browse files
committed
GH-5: Setup tox environment configs
1 parent 2f8e2dd commit 506fe43

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tox.ini

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tox]
2+
envlist =
3+
py{36,38,310,311}-fastapi68
4+
py{37,39,310,311}-fastapi{84,99}
5+
6+
[testenv]
7+
deps =
8+
fastapi99: fastapi>=0.99.0
9+
fastapi84: fastapi>=0.84.0
10+
fastapi68: fastapi>=0.68.1
11+
-r{toxinidir}/tests/requirements.txt
12+
allowlist_externals = sh
13+
commands =
14+
sh build.sh
15+
pytest

0 commit comments

Comments
 (0)