hydroframe / hf_hydrodata

Other
2 stars 0 forks source link

Automate CI/CD #163

Open thodson-usgs opened 2 months ago

thodson-usgs commented 2 months ago

openjournals/joss-reviews#6623

Consider integrating your CI/CD into GitHub using Actions.

Under Github -> Actions -> New workflow and search for "Publish Python Package" and "Python application". These will publish to pip with a release and automate linting and tests for PRs, respectively.

amy-defnet commented 2 months ago

Thank you for your comment @thodson-usgs! We do already have an automated CI/CD pipeline implemented, using Jenkins. This pipeline is set up to run when a Pull Request is opened and when any additional commits are made to the PR. Jenkins will run all of our unit tests and display whether they passed or failed back to the GitHub Pull Request. We separately have a Jenkins task that builds and publishes to PyPi. We have added a section to the README to make this more explicit.

Related Pull Request: #166