Skip to content

Merge pull request #146 from mechmotum/numpy-dependency #3

Merge pull request #146 from mechmotum/numpy-dependency

Merge pull request #146 from mechmotum/numpy-dependency #3

Workflow file for this run

name: TestPyPI
on:
push:
branches:
- main
jobs:
test_pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry==1.8.3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- run: >-
poetry version patch &&
version=$(poetry version | awk '{print $2}') &&
poetry version $version.dev.$(date +%s)
- run: poetry build
- uses: pypa/gh-action-pypi-publish@v1.10.3
with:
user: __token__
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository-url: https://test.pypi.org/legacy/