Skip to content
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

edk2_stuart_pr_eval: Improve robustness of path comparisons #346

Merged

Conversation

makubacki
Copy link
Member

Paths are currently returned from various functions and compared in
get_packages_to_build(). This change updates the paths to be
represented with Path objects so path comparison can leverage
the Path object equality method to perform the comparison more
robustly than with raw strings.

Signed-off-by: Michael Kubacki michael.kubacki@microsoft.com

Paths are currently returned from various functions and compared in
`get_packages_to_build()`. This change updates the paths to be
represented with `Path` objects so path comparison can leverage
the `Path` object equality method to perform the comparison more
robustly than with raw strings.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Merging #346 (1cfecb9) into master (24f080b) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

❗ Current head 1cfecb9 differs from pull request most recent head e5abf32. Consider uploading reports for the commit e5abf32 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #346      +/-   ##
==========================================
- Coverage   70.50%   70.46%   -0.05%     
==========================================
  Files          48       48              
  Lines        4798     4801       +3     
==========================================
  Hits         3383     3383              
- Misses       1415     1418       +3     
Flag Coverage Δ
Linux 69.63% <0.00%> (-0.05%) ⬇️
Windows_NT 70.40% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
edk2toolext/invocables/edk2_pr_eval.py 0.00% <0.00%> (ø)

@Javagedes Javagedes merged commit 9dcb947 into tianocore:master Nov 10, 2022
@Javagedes Javagedes added bug Something isn't working enhancement New feature or request labels Nov 10, 2022
@Javagedes Javagedes added this to the 0.20.0 milestone Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants