-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: Add print skipped tests into azure step #26698
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
CI: Add print skipped tests into azure step #26698
Conversation
Codecov Report
@@ Coverage Diff @@
## master #26698 +/- ##
===========================================
- Coverage 91.78% 41.2% -50.59%
===========================================
Files 174 179 +5
Lines 50703 50767 +64
===========================================
- Hits 46538 20918 -25620
- Misses 4165 29849 +25684
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #26698 +/- ##
==========================================
- Coverage 91.88% 91.87% -0.01%
==========================================
Files 174 174
Lines 50701 50701
==========================================
- Hits 46588 46583 -5
- Misses 4113 4118 +5
Continue to review full report at Codecov.
|
This is the checks job, only the This is trickier than what it looks I'd say, ideally, I think we should unify how the tests are called, and add the printing of the skipped tests there. So the output is consistent among builds. Closing this PR, but feel free to open a new one with those changes. |
@datapythonista It's not that this "simply" needs to be moved to a step in the posix.yml template? The tests are there always called with |
I think the best approach would be to have this in I'm ok with moving the code in this PR to |
Isn't it actually valuable that it is a separate step? That makes it simpler to look at it in the Azure interface (one of its advantages that you can split the log) |
It would maybe be nice to move the Anyway, I think this provides enough short term value (eg for checking if the clipboard tests ran or not) to add like this for now. |
Good point, then I'd simply have the @xcz011 do you mind doing that? The changes would be:
Reopening this, so you can keep working on the same branch if you want. Thanks! |
Sure, I will try to do it and may need some help |
This reverts commit e06ebb8.
Update travis and azure related
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.
Good job, @xcz011, the skipped tests are correctly displayed in the CI. Just added a couple of minor comments.
ci/azure/posix.yml
Outdated
@@ -90,3 +90,8 @@ jobs: | |||
Write-Error "$($matches[1]) tests failed" | |||
} | |||
displayName: Check for test failures |
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.
Can you have this in quotes as the rest of displayName
properties in the fie? Looks like they are not needed, but better to have it consistent.
ci/azure/posix.yml
Outdated
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
python ci/print_skipped.py | ||
displayName: 'print skipped test' |
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.
Can you capitalize the p
and use tests
instead of test
? so the display name is Print skipped tests
ci/azure/windows.yml
Outdated
export PATH=$HOME/miniconda3/bin:$PATH | ||
source activate pandas-dev | ||
python ci/print_skipped.py | ||
displayName: 'print skipped test' |
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.
Same changes as in the other file
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.
Thanks @xcz011, great job here. @jorisvandenbossche merge when you're happy.
@xcz011 thanks a lot! |
Thanks all the helps ! |
git diff upstream/master -u -- "*.py" | flake8 --diff