Coveralls (#79)

* Trying to fix coveralls and upgrading the packages

* Trying to fix coveralls and upgrading the packages
This commit is contained in:
mtakaki
2020-01-19 14:25:29 -08:00
committed by GitHub
parent e36a4e5429
commit b712eda001
4 changed files with 13 additions and 12 deletions

View File

@@ -30,7 +30,6 @@ jobs:
source bin/activate
pip3 install -r dev_requirements.txt
pip3 install -r requirements.txt
python3 setup.py install
pip3 install coveralls
- save_cache:
@@ -42,7 +41,7 @@ jobs:
name: run tests
command: |
. bin/activate
py.test tests --junitxml=test-reports/junit.xml --cov=cachet_url_monitor
python -m pytest tests --junitxml=test-reports/junit.xml --cov=cachet_url_monitor
coveralls
coverage xml
python-codacy-coverage -r coverage.xml

View File

@@ -1,8 +1,9 @@
codacy-coverage==1.3.11
ipython==7.8.0
mock==2.0.0
pudb==2016.1
pytest==5.2.2
coverage==5.0.3
coveralls==1.10.0
ipython==7.11.1
mock==3.0.5
pudb==2019.2
pytest==5.3.3
pytest-cov==2.8.1
coverage==4.5.2
requests-mock==1.7.0
requests-mock==1.7.0

View File

@@ -1,4 +1,4 @@
PyYAML==5.1.2
PyYAML==5.3
requests==2.22.0
schedule==0.6.0
Click==7.0

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup
from setuptools import setup, find_packages
setup(name='cachet-url-monitor',
version='0.6.3',
@@ -8,13 +8,14 @@ setup(name='cachet-url-monitor',
author='Mitsuo Takaki',
author_email='mitsuotakaki@gmail.com',
url='https://github.com/mtakaki/cachet-url-monitor',
packages=['cachet_url_monitor'],
packages=find_packages(),
license='MIT',
requires=[
'requests',
'yaml',
'schedule',
'Click',
],
setup_requires=["pytest-runner"],
tests_require=["pytest"]
tests_require=["pytest", "requests-mock"]
)