-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing Coveralls #65
Conversation
fixes #64 |
Found this helpful article when trying to use Coveralls: https://code-maven.com/coverall-with-python-minimal-setup |
You can also look at what I did for ulmo: https://github.com/ulmo-dev/ulmo/blob/master/.travis.yml
and then add the badge to the readme file (rst format below, need to use markdown instead):
|
What does the badge do in the readme file? Also the application had a lot of the Coveralls stuff already implemented into it, but this is what we have right now: script:
and after_success: Then I had to add coveralls to both the py2 and py3 environment files. |
@AaronV77 what you did is equivalent. The badge displays the % coverage as an image. i.e.: |
Oh DUH! Alright awesome, I will add that right now to the PR~! Thanks Dharhas! Where can I get the badge for quest, or can I just replace ulmo with quest? |
…the appveyor.yaml.
@@ -11,8 +11,7 @@ | |||
from urllib.parse import quote, urlencode | |||
|
|||
from quest.util.log import logger | |||
from quest.plugins import ProviderBase, TimePeriodServiceBase | |||
from quest import util | |||
from quest.plugins import ProviderBase, TimePeriodServiceBase, load_plugins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E402 module level import not at top of file
test/data.py
Outdated
@@ -414,8 +414,8 @@ | |||
SERVICE_FEATURE_DOWNLOAD_OPTIONS = [ | |||
# ('svc://nasa:srtm-3-arc-second/G1034711987-LPDAAC_ECS' , None), | |||
# ('svc://nasa:srtm-30-arc-second/G1005651728-LPDAAC_ECS', None), | |||
('svc://noaa-ncdc:ghcn-daily/ACW00011604', {'parameter': 'air_temperature:daily:total', 'start': '1949-01-01', 'end': '1949-01-02'}), | |||
('svc://noaa-ncdc:gsod/717580-99999', {'parameter': 'air_temperature:daily:max', 'start': '2016-01-01', 'end': '2016-01-02'}), | |||
# ('svc://noaa-ncdc:ghcn-daily/ACW00011604', {'parameter': 'air_temperature:daily:total', 'start': '1949-01-01', 'end': '1949-01-02'}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E501 line too long (139 > 120 characters)
test/data.py
Outdated
('svc://noaa-ncdc:ghcn-daily/ACW00011604', {'parameter': 'air_temperature:daily:total', 'start': '1949-01-01', 'end': '1949-01-02'}), | ||
('svc://noaa-ncdc:gsod/717580-99999', {'parameter': 'air_temperature:daily:max', 'start': '2016-01-01', 'end': '2016-01-02'}), | ||
# ('svc://noaa-ncdc:ghcn-daily/ACW00011604', {'parameter': 'air_temperature:daily:total', 'start': '1949-01-01', 'end': '1949-01-02'}), | ||
# ('svc://noaa-ncdc:gsod/717580-99999', {'parameter': 'air_temperature:daily:max', 'start': '2016-01-01', 'end': '2016-01-02'}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E501 line too long (132 > 120 characters)
fixes #14 |
Adding Coveralls functionality.