Skip to content

chore: introduce pytest instead of unittest (#394) #38

chore: introduce pytest instead of unittest (#394)

chore: introduce pytest instead of unittest (#394) #38

Workflow file for this run

name: Publish
on:
push:
tags: '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies and build
run: |
python -m pip install --upgrade pip
python -m pip install poetry poetry-dynamic-versioning twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry publish --build --username $TWINE_USERNAME --password $TWINE_PASSWORD