fix: BioCompose initial release #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Deployment | |
on: | |
release: | |
types: [created] | |
jobs: | |
run_redundant_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
# this CD assumes that CI has already been run (on each push to main), and thus tests have passed. | |
- name: Test BioCompose API | |
run: | | |
pytest | |
release_new_version: | |
needs: run_redundant_test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Release new version on PyPI | |
run: | | |
echo "Run pypi_release.sh here" | |
# run: ./push.sh | |
- name: Notify Deployment | |
run: echo "Deployment successful on release ${{ github.ref }}" |