Skip to content

clean-up of duplicated methods and fix of network creation (#36) #9

clean-up of duplicated methods and fix of network creation (#36)

clean-up of duplicated methods and fix of network creation (#36) #9

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- 'v*'
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment: pypi-package
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12.2
uses: actions/setup-python@v3
with:
python-version: "3.12.2"
- name: Setup dependencies
run: |
cd testing
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/testing" >> $GITHUB_ENV
- name: Set PyPI credentials
run: |
cd testing
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Publish to PyPI
run: |
cd testing
poetry publish --build