PyPI release workflow

This commit is contained in:
David Soria Parra 2024-11-11 22:28:28 +00:00
commit 753c76e479
No known key found for this signature in database

View file

@ -1,29 +0,0 @@
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@v5
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --frozen --all-extras --dev
- name: Run pytest
run: uv run --frozen pytest