Compare commits

..

2 Commits

Author SHA1 Message Date
Marcel Nijenhof
89aaa231fb Precommit hoek ook omgezet naar tox
Some checks failed
continuous-integration/drone/push Build is failing
2022-01-08 16:58:19 +01:00
Marcel Nijenhof
cdca3cc508 Correctie .drone 2022-01-08 16:57:12 +01:00
2 changed files with 3 additions and 5 deletions

View File

@@ -61,8 +61,6 @@ platform:
steps: steps:
- name: Run unit test - name: Run unit test
environment:
PYTHONPATH: src
commands: commands:
- tox - tox
@@ -77,7 +75,7 @@ steps:
environment: environment:
PYTHONPATH: src PYTHONPATH: src
commands: commands:
- pip install python-dateutil flask - pip install python-dateutil flask requests numpy pyopenssl
- python tests/main.py - python tests/main.py
--- ---
@@ -91,7 +89,7 @@ steps:
environment: environment:
PYTHONPATH: src PYTHONPATH: src
commands: commands:
- pip install python-dateutil flask - pip install python-dateutil flask flask requests numpy pyopenssl
- python --version - python --version
- python tests/main.py - python tests/main.py

View File

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