This commit is contained in:
marko-kraemer 2024-10-31 22:28:54 +01:00
parent 60e18d8a84
commit a1094e7483
3 changed files with 4 additions and 10 deletions

View File

@ -48,4 +48,4 @@ jobs:
title: "Bump version to ${{ env.NEW_VERSION }}"
body: "Automated version bump to ${{ env.NEW_VERSION }}"
branch: "bump-version-${{ env.NEW_VERSION }}"
base: "main"
base: "main"

View File

@ -7,7 +7,7 @@ on:
branches: [ main ]
jobs:
test:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@ -22,7 +22,4 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest
run: poetry install

View File

@ -26,11 +26,8 @@ jobs:
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Install dependencies
run: poetry install
- name: Build package
run: poetry build
- name: Publish to PyPI
run: poetry publish
run: poetry publish