mphowardlab / relentless

Computational materials design, with less code.
https://relentless.readthedocs.io
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Revisit test and publish workflows #226

Open mphoward opened 1 year ago

mphoward commented 1 year ago

Currently, the publish workflow is independent of the test workflow and triggered by publishing of a release. It may be desirable to:

One possible solution is to build the package for distribution at the end of the test run (on every commit) and save it as an artifact. If the commit being tested is a version tag, it should then also go to TestPyPI.

If possible, the publish script should then just grab the artifact from the test, rather than build it again.