forked from art049/odmantic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
23 lines (23 loc) · 704 Bytes
/
tox.ini
File metadata and controls
23 lines (23 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[tox]
isolated_build = true
envlist =
py{36,37,38,39}-motor{21,22,23}-pydantic{17,18}
py{36,37,38}-motor{23}-pydantic{16,17,18}
skip_missing_interpreters=true
[testenv]
deps =
motor21: motor ~= 2.1.0
motor22: motor ~= 2.2.0
motor23: motor ~= 2.3.0
pydantic16: pydantic ~= 1.6.2
pydantic17: pydantic ~= 1.7.4
pydantic18: pydantic ~= 1.8.2
whitelist_externals =
poetry
bash
pytest
commands =
bash -c 'poetry export --dev --without-hashes -f requirements.txt | grep -v "^motor==\|^pydantic==" | pip install -r /dev/stdin'
python -c "import motor; print(motor.version)" 1>&2
python -c "import pydantic; print(pydantic.VERSION)" 1>&2
pytest -q -rs