Skip to content

feat: provide integration tests scaffolding #14

feat: provide integration tests scaffolding

feat: provide integration tests scaffolding #14

Workflow file for this run

name: Publish Python 🐍 distribution 📦 to PyPI
on: push
jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/intercede
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Installing dependencies
run: |
python -m pip install \
build \
python-dateutil \
pytz \
readme_renderer[md] \
requests \
setuptools_scm
- name: Validate README for PyPI
run: |
python -m readme_renderer README.md -o /tmp/README.html
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1