libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

Add new CI job which builds the release artifact, remove MANIFEST.in

Open Kami opened this issue 1 year ago • 1 comments

Description

This pull request adds a new GHA job as part of the CI workflow which builds the release artifacts and verifies it.

As part of the verification step, we run the following check:

  • Verify tarball exists
  • Verify wheel exists
  • Verify tarball contents are correct by running the tests (tests should pass)
  • Verify wheel contents are correct by running the tests (tests should pass)

In addition to the CI changes, I fixed and improved pyproject.toml file and removed MANIFEST.in in favor of inclusion directives defined directly in the pyproject.toml file.

This was done for future proofing reasons and because I noticed that the behavior with MANIFEST.in file is not consistent in different environments aka builds are not fully reproducible (e.g. on CI, the contents of the tarball was different than contents of the tarball created locally).

Kami avatar Jun 29 '24 14:06 Kami

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.40%. Comparing base (11a20e6) to head (8546be9). Report is 25 commits behind head on trunk.

Additional details and impacted files
@@           Coverage Diff           @@
##            trunk    #2024   +/-   ##
=======================================
  Coverage   83.40%   83.40%           
=======================================
  Files         353      353           
  Lines       81685    81685           
  Branches     8632     8632           
=======================================
  Hits        68124    68124           
  Misses      10738    10738           
  Partials     2823     2823           
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Jun 29 '24 15:06 codecov-commenter