1
0
Fork 0

Merging upstream version 0.52+dfsg.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-17 07:24:48 +01:00
parent a21a6899db
commit accdada880
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
11 changed files with 863 additions and 705 deletions

View file

@ -1,4 +1,4 @@
name: run_tests
name: test
on:
push:
branches:
@ -15,14 +15,15 @@ jobs:
- uses: actions/setup-python@v2
- name: "Installs dependencies"
run: |
curl -sSL https://install.python-poetry.org | python3 -
- run: ~/.local/share/pypoetry/venv/bin/poetry install --with test
pip install -U uv
uv sync --group dev --group test
pip install -e .
- run: make lint
tests:
name: tests
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
python: ["3.11", "3.12", "3.13"]
fail-fast: false
runs-on: ubuntu-latest
steps:
@ -32,6 +33,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: "Installs dependencies"
run: |
curl -sSL https://install.python-poetry.org | python3 -
- run: ~/.local/share/pypoetry/venv/bin/poetry install --with test
pip install -U uv
uv sync --group dev --group test
pip install -e .
- run: make test

View file

@ -18,12 +18,14 @@ jobs:
- name: "Installs dependencies"
run: |
curl -sSL https://install.python-poetry.org | python3 -
pip install -U uv
uv sync --group dev --group test
pip install -e .
- name: "Builds and uploads to PyPI"
run: |
~/.local/share/pypoetry/venv/bin/poetry build
~/.local/share/pypoetry/venv/bin/poetry publish
uv build
uv publish
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.TOKEN_PYPI }}
UV_PUBLISH_TOKEN: ${{ secrets.TOKEN_PYPI }}