fix tox
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 11 Sep 2020 18:49:16 +0000 (20:49 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 11 Sep 2020 18:49:16 +0000 (20:49 +0200)
skip mypy for now

.gitignore
tox.ini

index 7811425c8763db1908c46dc14fc886f7b498ef09..b82e5ca93b9b1d5531ce41233c24aaad70cc1594 100644 (file)
@@ -10,3 +10,5 @@ build/
 dist/
 venv/
 .venv
+.mypy_cache/
+.tox/
diff --git a/tox.ini b/tox.ini
index 4e1869469b28762996b086d8f35299f473129746..fcf6776f76ca7dec4ff55d4b6d29ca17e1f08cf6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,19 +1,12 @@
 [tox]
-envlist = py36, py37, py38, lint, mypy
+envlist = py37, py38, lint, mypy
 skip_missing_interpreters = True
 
 [gh-actions]
 python =
-  3.6: py36, lint, mypy
-  3.7: py37
+  3.7: py37, lint, mypy
   3.8: py38
 
-[testenv]
-commands =
-  pytest --timeout=30 --cov=music_assistant --cov-report= {posargs}
-deps =
-  -rrequirements.txt
-
 [testenv:lint]
 basepython = python3
 ignore_errors = True
@@ -26,10 +19,10 @@ deps =
   -rrequirements_lint.txt
   -rrequirements_test.txt
 
-[testenv:mypy]
-basepython = python3
-ignore_errors = True
-commands =
-  mypy music_assistant
-deps =
-  -rrequirements_lint.txt
+[testenv:mypy]
+basepython = python3
+ignore_errors = True
+commands =
+  mypy music_assistant
+deps =
+  -rrequirements_lint.txt