Skip to content

Merge pull request #252 from Yelp/fix-github-ci-command-2 #1

Merge pull request #252 from Yelp/fix-github-ci-command-2

Merge pull request #252 from Yelp/fix-github-ci-command-2 #1

Workflow file for this run

name: pypi
on:
push:
tags:
- v*
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python -m pip install --upgrade setuptools pip 'tox<4' virtualenv
- run: tox -e py310
pypi:
needs: test
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/pyramid-swagger
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python setup.py sdist
- uses: pypa/[email protected]