Skip to content

Conversation

@Eldinnie
Copy link
Member

I made a new bot in my account and hid the relevant information in appveyors environment vars.
I modified appveyor.yaml to use the new tests and codecov.

If all is well this should mean I've enabled appveyor

@codecov
Copy link

codecov bot commented Sep 10, 2017

Codecov Report

Merging #823 into master will increase coverage by 0.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #823      +/-   ##
==========================================
+ Coverage   91.07%   91.27%   +0.19%     
==========================================
  Files         101      101              
  Lines        4023     4023              
  Branches      614      614              
==========================================
+ Hits         3664     3672       +8     
- Misses        206      208       +2     
+ Partials      153      143      -10
Flag Coverage Δ
#Appveyor 86.35% <ø> (?)
#Travis 90.9% <ø> (?)
Impacted Files Coverage Δ
telegram/error.py 86.48% <0%> (-5.41%) ⬇️
telegram/utils/request.py 63.7% <0%> (-3.23%) ⬇️
telegram/message.py 96.01% <0%> (+4.78%) ⬆️
telegram/games/game.py 100% <0%> (+5.71%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c5ab893...e5471ad. Read the comment docs.

@pytest.mark.nocoverage
@pytest.mark.parametrize('hook_id', argvalues=('yapf', 'flake8', 'pylint'))
@pytest.mark.skipif(not os.getenv('TRAVIS'), reason='Not running in travis.')
@pytest.mark.skipif(not (os.getenv('TRAVIS') or os.getenv('APPVEYOR')), reason='Not running in travis.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you edit the reason too?

assert chat_member.status == 'administrator'
assert chat_member.user.username == 'EchteEldin'

@pytest.mark.skipif(os.getenv('APPVEYOR'), reason='Skip game tests on Appveyor')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should write why we're skipping and not just that we are in the reason?
(I know we haven't really done this before but it makes more sense to do it like that I think)
(applies elsewhere)

@jsmnbom
Copy link
Member

jsmnbom commented Sep 10, 2017

Mostly looks good! Good call on just doing it instead of waiting for us to set up more bots.
I left a few notes in my review :)

Also it looks like the build is failing? Due to timing differences among other issues? (I don't really understand how to read this)

@python-telegram-bot python-telegram-bot deleted a comment from codecov bot Sep 10, 2017
@Eldinnie
Copy link
Member Author

So, As far as I'm concerned this is the first step towards adding Appveyor to our CI cycle. For now I'm skipping tests for telegram-communication regarding stickers and games because they're not added on the bot (yet).
I'm also skipping tests for jobqueue and messagequeue because they rely on timing to a measure more precise then Appveyor can provide.

Coverage increased because now the branches that split for windows and posix systems now both are executed.

I addressed @bomjacob 's review comments.

@Eldinnie
Copy link
Member Author

closes #591

@Eldinnie Eldinnie merged commit dd20237 into master Sep 14, 2017
@Eldinnie Eldinnie deleted the Appveyor branch September 14, 2017 15:54
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants