Skip to content

Merge pull request #292 from PabloLec/dependabot/pip/types-pyyaml-6.0… #184

Merge pull request #292 from PabloLec/dependabot/pip/types-pyyaml-6.0…

Merge pull request #292 from PabloLec/dependabot/pip/types-pyyaml-6.0… #184

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