Released 1.4.19 via make release #433
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: 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/[email protected] | |
with: | |
password: ${{ secrets.pypi_password }} |