forked from MeltanoLabs/target-snowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (25 loc) · 802 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
# This file can be used to customize tox tests as well as other test frameworks like flake8 and mypy
[tox]
envlist = py37, py38, py39, py310, py311
isolated_build = true
[testenv]
allowlist_externals = poetry
passenv =
TARGET_SNOWFLAKE_USER
TARGET_SNOWFLAKE_PASSWORD
TARGET_SNOWFLAKE_ACCOUNT
TARGET_SNOWFLAKE_DATABASE
TARGET_SNOWFLAKE_WAREHOUSE
TARGET_SNOWFLAKE_ROLE
commands =
poetry install -v
poetry run coverage run -m pytest --capture=no {posargs}
poetry run coverage html -d tests/codecoverage
[testenv:pytest]
# Run the python tests.
# To execute, run `tox -e pytest`
envlist = py37, py38, py39, py310, py311
commands =
poetry install -v
poetry run coverage run -m pytest --capture=no {posargs}
poetry run coverage html -d tests/codecoverage