ci: fix Python package in coverage workflow#740
Merged
mloskot merged 1 commit intoboostorg:developfrom Dec 25, 2023
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #740 +/- ##
===========================================
+ Coverage 81.10% 82.12% +1.02%
===========================================
Files 117 117
Lines 5171 5355 +184
===========================================
+ Hits 4194 4398 +204
+ Misses 977 957 -20 |
6 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
This pull request fixes the
E: Package 'python' has no installation candidateerror in the coverage workflow by providing an existing package.The Python package in Ubuntu 22.04 is
python3, but I decided to go forpython-is-python3instead, because that makes sure thatpython3is installed (as dependency) and also creates a symlink from/usr/bin/pythontopython3as a way to make sure that commands with justpython(instead ofpython3) also invoke the installed version of Python 3.References
See https://github.com/boostorg/gil/actions/runs/7317309558/job/19932692704 for an example of a currently failing coverage job.
Tasklist