summaryrefslogtreecommitdiffstats
path: root/share/extensions/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'share/extensions/tox.ini')
-rw-r--r--share/extensions/tox.ini29
1 files changed, 29 insertions, 0 deletions
diff --git a/share/extensions/tox.ini b/share/extensions/tox.ini
new file mode 100644
index 0000000..89229d2
--- /dev/null
+++ b/share/extensions/tox.ini
@@ -0,0 +1,29 @@
+[tox]
+envlist = py{36,37,38,39,310}-normal-{linux,win}
+isolated_build = true
+
+
+[testenv]
+platform =
+ linux: linux
+ win: win32
+
+setenv =
+ COVERAGE_FILE=.coverage-{env:TOX_ENV_NAME}
+ win: COVERAGE_FILE=.coverage-{env:TOX_ENV_NAME}-win
+
+commands =
+ pytest --ignore=other --cov=. --cov-report html --cov-report term {posargs}
+
+[pytest]
+addopts = --ignore=other
+
+[coverage3:paths]
+source =
+ C:\GitLab-Runner\builds\*\extensions
+ C:\GitLab-Runner\builds\*\*\extensions
+ C:\builds\*\extensions
+ /builds/*/extensions
+
+[darglint]
+strictness=short \ No newline at end of file