plenoptic-org / plenoptic

Visualize/test models for visual representation by synthesizing images.
https://plenoptic.readthedocs.io/en/latest/
MIT License
57 stars 9 forks source link

Update deploy #258

Closed billbrod closed 6 months ago

billbrod commented 6 months ago

Adds a bunch of checks to deploy, and switches to using trusted publishing. Also adds ability trigger deploy on workflow_dispatch, deploying to test pypi instead

Updates checkout to make sure we get all the git tags, necessary for setuptools_scm

The deploy action now builds both sdist and wheels, and then:

Because of the tests/notebooks, this now takes longer to run, but should be safer

codecov[bot] commented 6 months ago

Codecov Report

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

Project coverage is 88.53%. Comparing base (cad4606) to head (84595c9). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #258 +/- ## ======================================= Coverage 88.53% 88.53% ======================================= Files 38 38 Lines 3410 3410 ======================================= Hits 3019 3019 Misses 391 391 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.