spacetelescope / calcos

Calibration for HST/COS.
https://hst-docs.stsci.edu/cosdhb/chapter-3-cos-calibration
3 stars 27 forks source link

refactor workflow to install from build configuration and use `pytest` and `tox` #218

Closed zacharyburnett closed 1 year ago

zacharyburnett commented 1 year ago

This PR refactors the workflow CI to run on push to master or on a pull request, and additionally uses tox to run lint / build checks before running tests with pytest-xdist.

image

blocked by #217:

AttributeError: module 'numpy' has no attribute 'int'. Did you mean: 'inf'?
codecov[bot] commented 1 year ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d4e1c66). Click here to learn what that means. Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #218 +/- ## ========================================= Coverage ? 87.17% ========================================= Files ? 17 Lines ? 1333 Branches ? 0 ========================================= Hits ? 1162 Misses ? 171 Partials ? 0 ``` | Flag | Coverage Δ | | |---|---|---| | unit | `87.17% <0.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spacetelescope#carryforward-flags-in-the-pull-request-comment) to find out more. Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spacetelescope). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=spacetelescope)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.