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

Modify CI to better verify built package contents #1244

Merged
merged 3 commits into from Aug 17, 2022
Merged

Conversation

MasterOdin
Copy link
Member

@MasterOdin MasterOdin commented Aug 15, 2022

PR modifies the package CI job in two ways:

  1. Pass package to check-wheel-contents (see action failure example). This makes it so that check-wheel-contents verifies that each file in the package are actually in the wheel following their directory structure.
  2. Have CI steps that verify we can install the package, and that we can run a minimal example with it (see action failure example)

Either of these steps would have been sufficient to have caught #1242 per the example runs above.

@MasterOdin MasterOdin marked this pull request as ready for review August 15, 2022 15:46
@MasterOdin MasterOdin changed the base branch from verify-build to main August 15, 2022 15:47
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@codecov
Copy link

codecov bot commented Aug 15, 2022

Codecov Report

Merging #1244 (e1794fe) into main (1423c0d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1244   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files          30       30           
  Lines        4979     4979           
  Branches     1025     1025           
=======================================
  Hits         4709     4709           
  Misses        153      153           
  Partials      117      117           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@MasterOdin MasterOdin marked this pull request as draft August 15, 2022 15:55
@MasterOdin MasterOdin changed the title Add CI step to test built wheel Add CI step to test installation Aug 15, 2022
@MasterOdin MasterOdin changed the title Add CI step to test installation Modify CI to better verify built package contents Aug 15, 2022
@MasterOdin MasterOdin marked this pull request as ready for review August 15, 2022 16:33
@MartinThoma MartinThoma merged commit 28cf36a into main Aug 17, 2022
@MartinThoma MartinThoma deleted the MasterOdin-patch-1 branch August 17, 2022 19:27
@MartinThoma
Copy link
Member

Wow, this is amazing work @MasterOdin 😍 Thank you so much 🤗

This is a great improvement - especially if/when I hand over the maintainer role at some point to ensure that others don't make the same mistake (I hope I have learned it now 😅 🙈 🤞 )

MartinThoma added a commit that referenced this pull request Aug 21, 2022
Robustness (ROB):
-  Decrypt returns empty bytestring (#1258)

Documentation (DOC):
-  Adding WevertonGomes as a Contributor

Developer Experience (DEV):
-  Modify CI to better verify built package contents (#1244)

Maintenance (MAINT):
-  Remove unused sign function in _extract_text (#1262)
-  Remove \'mine\' as PdfMerger always creates the stream (#1261)
-  Let PdfMerger._create_stream raise NotImplemented (#1251)
-  password param of _security._alg32(...) is only a string, not bytes (#1259)
-  Remove unreachable code in read_block_backwards (#1250)

Testing (TST):
-  Delete annotations (#1263)
-  Close PdfMerger in tests (#1260)
-  PdfReader.xmp_metadata workflow (#1257)
-  Various PdfWriter (Layout, Bookmark deprecation) (#1249)

Full Changelog: 2.10.2...2.10.3
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.

None yet

2 participants