Skip to content

Merge pull request #8 from lmnr-ai/lmnr-0.4.49 #14

Merge pull request #8 from lmnr-ai/lmnr-0.4.49

Merge pull request #8 from lmnr-ai/lmnr-0.4.49 #14

Workflow file for this run

name: Publish Python Package
on:
push:
branches: ["main"]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/lmnr/
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install the project
run: uv sync --all-extras --dev
- name: Run tests
run: uv run pytest
- name: Build package
run: uv build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1