Skip to content

Merge pull request #352 from benbariteau/fix_pypi_action #3

Merge pull request #352 from benbariteau/fix_pypi_action

Merge pull request #352 from benbariteau/fix_pypi_action #3

Workflow file for this run

name: pypi
on:
push:
tags:
- v*
jobs:
test:
strategy:
matrix:
python:
- version: "3.8"
toxenv: "py38"
- version: "3.9"
toxenv: "py39"
- version: "3.10"
toxenv: "py310"
- version: "3.11"
toxenv: "py311"
- version: "3.12"
toxenv: "py312"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python.version }}
- run: python -m pip install --upgrade setuptools pip 'tox<4' virtualenv
- run: tox -e ${{ matrix.python.toxenv }}
pypi:
needs: test
runs-on: ubuntu-latest

Check failure on line 33 in .github/workflows/pypi.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pypi.yaml

Invalid workflow file

You have an error in your yaml syntax on line 33
environment:
name: pypi
url: https://pypi.org/p/testify
permissions:
id-token: write
steps:
- uses: pypa/gh-action-pypi-publish@v1.8.10