Skip to content

ruff and mypy clean up (#508) #403

ruff and mypy clean up (#508)

ruff and mypy clean up (#508) #403

name: Publish 📦 to TestPyPI
on:
push:
branches:
- development
jobs:
build-n-publish:
name: Build and publish 📦 to TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: development
fetch-depth: 0
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: 3.11.4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build
- name: Build a binary wheel and a source tarball
run: >-
python -m build .
- name: Publish 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TEST_TOKEN }}
repository-url: https://test.pypi.org/legacy/