galaxyproject/nosehtml (opens in new tab)
1 workflow
Triggers
push pull_request
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| deploy | ubuntu-latest | 5 | actions/checkout@v2 actions/setup-python@v1 pypa/gh-action-pypi-publish@v1.1.0 |
Raw YAML
name: Python CI
on: [push, pull_request]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip setuptools
python3 -m pip install --upgrade twine wheel
- name: Create and check packages
run: |
python3 setup.py sdist bdist_wheel
twine check dist/*
- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@v1.1.0
with:
password: ${{ secrets.pypi_password }}
Last fetched: