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

refactor(parts): separate yaml parsing from base errors #4342

Merged
merged 2 commits into from
Aug 31, 2023
Merged

Conversation

mr-cal
Copy link
Collaborator

@mr-cal mr-cal commented Aug 31, 2023

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

No functional changes.

Another precursory refactor for #4318 in which I need to load a snapcraft.yaml and check the base without raising an error.

(CRAFT-1972)

@mr-cal mr-cal requested review from cmatsuoka and syu-w August 31, 2023 13:49
Signed-off-by: Callahan Kovacs <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2023

Codecov Report

Merging #4342 (3ee7935) into main (fb2777f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #4342      +/-   ##
==========================================
+ Coverage   89.10%   89.12%   +0.01%     
==========================================
  Files         299      300       +1     
  Lines       20594    20637      +43     
==========================================
+ Hits        18350    18392      +42     
- Misses       2244     2245       +1     
Files Changed Coverage Δ
snapcraft/parts/yaml_utils.py 96.73% <100.00%> (+0.07%) ⬆️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mr-cal mr-cal merged commit 3335631 into main Aug 31, 2023
11 checks passed
@mr-cal mr-cal deleted the yaml-refactor-2 branch August 31, 2023 17:31
jardon pushed a commit to jardon/snapcraft that referenced this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants