Skip to content

Merge pull request #3 from erev0s/manifest_updates #8

Merge pull request #3 from erev0s/manifest_updates

Merge pull request #3 from erev0s/manifest_updates #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.13
- name: Install Poetry
run: |
pip install poetry
poetry config virtualenvs.create false
- name: Run unittest tests
run: poetry run python -m unittest discover -s tests
- name: Build with Poetry
run: |
poetry build
- name: Publish
run: |
pip install twine
twine upload dist/*
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}