Merging upstream version 0.52+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a21a6899db
commit
accdada880
11 changed files with 863 additions and 705 deletions
.github/workflows
|
@ -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
|
10
.github/workflows/upload-to-pypi.yml
vendored
10
.github/workflows/upload-to-pypi.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue