mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-03-24 21:03:33 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79a9a7f8d6 | ||
|
|
b712eda001 | ||
|
|
e36a4e5429 |
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
PyYAML==5.1.2
|
||||
PyYAML==5.3
|
||||
requests==2.22.0
|
||||
schedule==0.6.0
|
||||
Click==7.0
|
||||
|
||||
9
setup.py
9
setup.py
@@ -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.2',
|
||||
version='0.6.4',
|
||||
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"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user