-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
CI Adds coverage to docker jobs on Azure #26027
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
c19c8da
CI Adds coverage to docker jobs on Azure
thomasjpfan 0694535
CI Use new script to combine coverage
thomasjpfan adf8e40
REV Revert
thomasjpfan 608ecc0
CI Fixes repo local path
thomasjpfan 7bb26ae
CI Combine coverage in windows
thomasjpfan e5c3010
Apply suggestions from code review
thomasjpfan 82a628b
Apply suggestions from code review
thomasjpfan a0dace1
Trigger
ogrisel 0f2acd4
upgrade codecov uploader and search coverage files directly from TEST…
ogrisel 3c86cc4
Restrict upload to TEST_DIR/.coverage
ogrisel 831afed
Fix ordering of the combine / codecov upload steps for windows
ogrisel c45956c
More explicit assertions on expected files and folders for the codeco…
ogrisel fdff0ee
Move the combined .coverage file back under BUILD_REPOSITORY_LOCALPATH
ogrisel d01e948
Fix typo in codecov cli flags [azure parallel]
ogrisel 25ad492
Debug with ls -la [azure parallel]
ogrisel af82a42
Try again with codecov 0.4.0 instead [azure parallel]
ogrisel 94500af
Revert "Try again with codecov 0.4.0 instead [azure parallel]"
ogrisel 6491a26
Pass .coverage as a relative path [azure parallel]
ogrisel 5b4e13b
Forward CODECOV_TOKEN in posix-docker.yml [azure parallel]
ogrisel 7902b79
Fix typo in codecov cli flags [azure parallel]
ogrisel a971d83
Consistent step ordering on Windows [azure parallel]
ogrisel 2fee8ac
Merge branch 'main' into coverage_docker_pr
ogrisel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# Defines the show_installed_libraries and activate_environment functions. | ||
source build_tools/shared.sh | ||
|
||
activate_environment | ||
|
||
# Combine all coverage files generated by subprocesses workers such | ||
# such as pytest-xdist and joblib/loky: | ||
pushd $TEST_DIR | ||
coverage combine --append | ||
popd | ||
|
||
# Copy the combined coverage file to the root of the repository: | ||
cp $TEST_DIR/.coverage $BUILD_REPOSITORY_LOCALPATH |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ cython | |
joblib==1.1.1 # min | ||
threadpoolctl==2.2.0 | ||
pytest==5.3.1 # min | ||
pytest-cov==2.9.0 # min |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.