Skip to content

Merge pull request #293 from PabloLec/dependabot/pip/flake8-simplify-… #185

Merge pull request #293 from PabloLec/dependabot/pip/flake8-simplify-…

Merge pull request #293 from PabloLec/dependabot/pip/flake8-simplify-… #185

name: Test release upload
on:
workflow_dispatch:
push:
branches:
- main
jobs:
test_pypi_release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "${HOME}/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry install
- name: Setup and Publish to Test PyPi
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }}
poetry publish --build --repository testpypi --dry-run