Skip to content

Released 1.4.32 via make release #446

Released 1.4.32 via make release

Released 1.4.32 via make release #446

Workflow file for this run

---
name: paasta-pypi
on:
push:
tags:
- v*
jobs:
tox:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
toxenv:
- py38-linux,docs,mypy,tests
- general_itests
env:
DOCKER_REGISTRY: ""
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- run: python -m pip install --upgrade pip
- run: pip install -r requirements-gha.txt
- run: tox -e ${{ matrix.toxenv }}
pypi:
# lets run tests before we push anything to pypi, much like we do internally
needs: tox
runs-on: ubuntu-20.04
env:
DOCKER_REGISTRY: ""
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
# this will create a .tar.gz with all the code (i.e., an sdist)
- run: python setup.py sdist
# and finally, upload the above sdist to public PyPI
- uses: pypa/gh-action-pypi-publish@v1.2.2
with:
password: ${{ secrets.pypi_password }}