Skip to content

table-reader v3.1.0 #30

table-reader v3.1.0

table-reader v3.1.0 #30

Workflow file for this run

name: Upload Python Package
on:
workflow_dispatch:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Make sure unit tests succeed
run: |
pip install -r tests/test_requirements.txt
pip install .
pytest
- name: Build
run: |
python setup.py sdist bdist_wheel
# See https://docs.pypi.org/trusted-publishers/using-a-publisher/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1