-
Notifications
You must be signed in to change notification settings - Fork 6
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
#24 - fixes tests failing in travis #26
Conversation
@aashutoshrathi yeah moving back to pip from pip3 fixed the tests. |
Can you also add to deploy only if branch is master |
;) https://travis-ci.org/aashutoshrathi/git-profiler-bot/jobs/471846613 tests passed, merging this will pass the build , I promise. |
that's exactly what we need. |
Yes, just a single if in travis. |
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.
Check comments, do something like that
That's weird tests failed again. But do one thing before TELEGRAM_TOKEN: ${TELEGRAM_TOKEN}
CONTRI_API: ${CONTRI_API} |
Travis gave up? |
nah , it was error in my yml. |
If |
@gurungrahul2 doing it? |
yeah ! will continue after a break. |
I think we need to be quick with this PR, also in process commits, please comment |
Use this: https://stackoverflow.com/a/53130965/7326407
|
but deploy is fine, do we really wanna do this? |
Yes, we need to do this. |
Please squash |
sure |
Please squash all commits into one |
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.
Before doing another commit please squash all commits in one.
@aashutoshrathi sure. |
Also, add deploy tab |
Add that cat command too, which creates serverless file, I think I will need to rewrite tests. |
Let the tests fail, because they are wrong due to change of code |
only two tests are failing for me. |
why tests are passing on my local machine ? |
@aashutoshrathi I have commented two cases which are failing unexpectedly, everything else looks fine. |
Have a look at log, https://travis-ci.org/aashutoshrathi/git-profiler-bot/builds/472058814 I think type empty is matched with User , and in Email empty with none. @aashutoshrathi |
Do this please #26 (comment) |
tests/basic_test.py
Outdated
('Name', 'name'), | ||
('Company', 'company'), | ||
('Blog', 'blog'), | ||
('Email', 'email'), | ||
# ('Email', 'email'), |
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.
Also remove these lines completely.
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.
Do this please #26 (comment)
Else, bot won't work on deploy.
used pip liked earlier