-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate releasing to BioSimulators #530
Comments
I'd like to tackle this--is there any way to have a sort of 'pre-release' version that isn't made public until the tests have passed? It would be nice to make this a sort of 'final testing before release' step so we could catch rrplugins-failure-like errors going forward. |
There's several options. Everything is designed to be automatable. The BioSimulators interface to tellurium is built by its own repository. Its tests can be triggered programmatically using the GitHub API. We could set this up to build an image and run tests with a specific revision that hasn't yet been released to PyPI by parameterizing the version of tellurium. Alternatively, you can clone this into your CI workflows and run the tests there. The GitHub issue-based validation workflow can be run a "test" mode, where the tests are run, but nothing is saved to the BioSimulators database. This relies on a publicly-accessible Docker image. Another option is to install the test suite by cloning it from GitHub and install it with pip. This doesn't require a public image. In fact, the tests can be directly run on the interface without a Docker image (this of course skips testing the building of the image and compatibility with Singularity). |
To keep the version of tellurium in BioSimulators up to date, we recommend automating the release of new versions to BioSimulators.
This can be done using the GitHub API.
An easy way to do this is with the GitHub action below. This would automatically push tellurium to BioSimulators when releases are published to GitHub. To use the action:
.github/workflows/release-biosimulators.yml
BIOSIMULATORS_GH_USERNAME
: the name of the GitHub user who pushes tellurium to BioSimulators (e.g.,luciansmith
).luciansmith
and some others already have permissions for this.BIOSIMULATORS_GH_TOKEN
: token forBIOSIMULATORS_GH_USERNAME
BIOSIMULATORS_GH_USERNAME
can be created a https://github.com/settings/tokensrepo
The text was updated successfully, but these errors were encountered: