4699ee1494
Change drone to run one version of py3 and py2 for testing. Needed to specify pytest versions depending on if above or below python version 3.
2020-02-19 10:22:32 +01:00
KevinMidboe
80931be151
Weird cov path fixed.
2020-02-19 00:29:08 +01:00
KevinMidboe
0d376df8f8
bash and curl was missing for some reason.
2020-02-19 00:26:08 +01:00
KevinMidboe
eb13e34e66
Restructured project to better run as a package.
...
This should have been setup correctly, but now try to better follow
structure for python modules, which this is supposed to be.
- Renamed folder from src -> seasonedParser
- Moved test/ into seasonedParser/
- test has __init__.py script which sets location to the project folder
(seasonedParser/).
- Removed cli.py and moved contents to __main__.py
- Updated drone to run pytest without test folder parameter
2020-02-19 00:23:24 +01:00
307a412c83
Require git to be installed.
2020-02-18 22:01:06 +01:00
5aaf1197b7
Make sure bash and curl are installed before using.
2020-02-18 21:48:59 +01:00
824bf707fb
replaced codecov python uploader with bash uploader.
2020-02-18 21:32:47 +01:00
756dcb51ce
Missing environment variable for codecov.
2020-02-18 21:26:43 +01:00
9ef175b715
Codecov task must first install all requirements.
2020-02-18 21:24:48 +01:00
e4b3243a56
Miss spelled docker image for codecov.
2020-02-18 21:23:15 +01:00
abe4b5745c
Py package: pytest-cov. Upload test coverage to codecov.
2020-02-18 21:21:23 +01:00
b8f9ddbbf4
Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*.
2020-02-18 21:04:33 +01:00
138a6b5fec
Installs scripts first prints python version.
2020-02-18 20:31:27 +01:00
fd95b0f3ae
Inital drone config. Checks that it can install requirements with python v 3.6 & 3.8.
2020-02-18 20:29:28 +01:00