forked from dbeatty10/dbt-mysql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (36 loc) · 1.37 KB
/
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
34
35
36
37
38
39
40
41
42
[tox]
skipsdist = True
envlist = flake8, unit, integration-mysql-8.0, integration-mysql-5.7
[testenv:flake8]
basepython = python3.9
commands = /bin/bash -c '$(which flake8) --select=E,W,F --max-line-length=88 --extend-ignore=E203,W504 dbt/'
deps =
-r{toxinidir}/requirements-dev.txt
[testenv:unit]
basepython = python3.9
commands = /bin/bash -c '{envpython} -m pytest -v {posargs} tests/unit'
passenv = DBT_INVOCATION_ENV
deps =
-r{toxinidir}/requirements-dev.txt
-r{toxinidir}/requirements-editable.txt
[testenv:integration-mysql-8.0]
basepython = python3.9
commands = {envpython} -m pytest -v --profile mysql {posargs} tests/functional
passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MYSQL_80_PORT
deps =
-r{toxinidir}/requirements-dev.txt
-r{toxinidir}/requirements-editable.txt
[testenv:integration-mysql-5.7]
basepython = python3.9
commands = {envpython} -m pytest -v --profile mysql5 {posargs} tests/functional
passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MYSQL_57_PORT
deps =
-r{toxinidir}/requirements-dev.txt
-r{toxinidir}/requirements-editable.txt
[testenv:integration-mariadb-10.5]
basepython = python3.9
commands = {envpython} -m pytest -v --profile mariadb {posargs} tests/functional
passenv = DBT_INVOCATION_ENV DBT_MYSQL_SERVER_NAME DBT_MARIADB_105_PORT
deps =
-r{toxinidir}/requirements-dev.txt
-r{toxinidir}/requirements-editable.txt