Lokale test omgeschreven naar tox
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Marcel Nijenhof
2021-12-31 22:42:04 +01:00
parent da80bd93d9
commit 08cd160713
4 changed files with 10 additions and 1 deletions

1
.gitignore vendored
View File

@@ -7,3 +7,4 @@ lmwsip_marceln.egg-info
test/__pycache__
lmwsip.egg-info
*.swp
.tox

View File

@@ -6,5 +6,5 @@ VERSION=$(grep version setup.cfg | sed 's/.*= *//')
sed -i "s/^__version__ = .*/__version__ = '${VERSION}'/" src/lmwsip/__init__.py
git add lmwsip/__init__.py
python setup.py test
tox
yamllint .drone.yml

View File

@@ -15,6 +15,8 @@ classifiers =
[options]
package_dir =
= src
install_requires =
python-dateutil
packages = find:
python_requires = >= 3.6

6
tox.ini Normal file
View File

@@ -0,0 +1,6 @@
[tox]
envlist = py36,py37,py38,py310
[testenv]
deps = python-dateutil
commands = python -m unittest -v lmwsip.tests