Skip to content

Commit

Permalink
Coveralls (#79)
Browse files Browse the repository at this point in the history
* Trying to fix coveralls and upgrading the packages

* Trying to fix coveralls and upgrading the packages
  • Loading branch information
mtakaki committed Jan 19, 2020
1 parent e36a4e5 commit b712eda
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
13 changes: 7 additions & 6 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PyYAML==5.1.2
PyYAML==5.3
requests==2.22.0
schedule==0.6.0
Click==7.0
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
#!/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',
description='Cachet URL monitor plugin',
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"]
)

0 comments on commit b712eda

Please sign in to comment.