-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove user/pass * Update CHANGELOG.rst * Update CHANGELOG.rst
- Loading branch information
1 parent
ec19501
commit 62a9cad
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ on: | |
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
|
@@ -17,18 +19,15 @@ jobs: | |
run: | | ||
python --version | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
pip install setuptools wheel build | ||
- name: Test | ||
run: | | ||
pip install .[test] | ||
pytest --runslow ./tests | ||
- name: Build and publish | ||
env: | ||
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | ||
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* | ||
- name: Build | ||
run: python -m build | ||
- name: Publish | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
- name: Send mail | ||
# Notify when cron job fails | ||
if: failure() | ||
|
@@ -48,4 +47,4 @@ jobs: | |
to: [email protected] | ||
# from email name | ||
from: Vivarium Notifications | ||
|
||
|
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