-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tox.ini
55 lines (51 loc) · 1.64 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
43
44
45
46
47
48
49
50
51
52
53
54
55
[tox]
envlist =
orange-{oldest, latest, released}
skip_missing_interpreters = true
isolated_build = true
[testenv]
# https://tox.wiki/en/latest/config.html#download
download = true
extras = test
passenv = *
# we MUST changedir to avoid installed being shadowed by working dir
# https://github.com/tox-dev/tox/issues/54
# https://github.com/tox-dev/tox/issues/514
changedir =
{envsitepackagesdir}
setenv =
# set coverage output and project config
COVERAGE_FILE = {toxinidir}/.coverage
COVERAGE_RCFILE = {toxinidir}/.coveragerc
deps =
{env:PYQT_PYPI_NAME:PyQt5}=={env:PYQT_PYPI_VERSION:5.15.*}
{env:WEBENGINE_PYPI_NAME:PyQtWebEngine}=={env:WEBENGINE_PYPI_VERSION:5.15.*}
oldest: scikit-learn==1.0.1
oldest: orange3==3.34.0
# Use newer canvas-core and widget-base to avoid segfaults on windows
oldest: orange-canvas-core==0.1.28
oldest: orange-widget-base==4.19.0
oldest: pandas==1.3
latest: git+https://github.com/biolab/orange3.git#egg=orange3
latest: git+https://github.com/biolab/orange-canvas-core.git#egg=orange-canvas-core
latest: git+https://github.com/biolab/orange-widget-base.git#egg=orange-widget-base
commands_pre =
# check pip version in virtualenv
pip --version
# Verify installed packages have compatible dependencies
pip check
# freeze environment
pip freeze
commands =
coverage run -m unittest discover -v --start-directory orangecontrib/survival_analysis
coverage report
;[testenv:style]
;skip_install = true
;deps =
; flake8
; flake8-bugbear
; flake8-black
;changedir =
; {toxinidir}/orangecontrib/survival_analysis/
;commands =
; flake8 --diff .