-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathtox.ini
33 lines (30 loc) · 841 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py39,nosdk
# NOTE: this should be extended to run all tests but there are a LOT of dependencies
# to be figured out and tests to be fixed. I added some dependencies and the basic
# pytest command to be run once tests are cleaned up.
[testenv]
deps =
pytest
requests-mock
dominodatalab-data
# pyspark
# apache-airflow
# pandas
setenv =
DATA_SDK = yes
commands =
# pytest tests/
pytest tests/test_data_sources.py
[testenv:nosdk]
deps =
pytest
requests-mock
setenv =
DATA_SDK = no
commands =
pytest tests/test_data_sources_nods.py