Add Docker image, Gitea CI, PyPI publishing and BSD-3-Clause license #4

Merged
skruger merged 3 commits from ci into main 2026-12-03 09:54:41 -07:00
Showing only changes of commit 5d7d03a0a6 - Show all commits
+6 -4
View File
@@ -26,12 +26,13 @@ jobs:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v6
with:
python-version: "3.13"
activate-environment: true
- name: Install package
run: pip install -e ".[dev]"
run: uv pip install -e ".[dev]"
- name: Run tests
run: pytest
@@ -155,16 +156,17 @@ jobs:
- name: Set up Python
if: env.PYPI_TOKEN != ''
uses: actions/setup-python@v5
uses: astral-sh/setup-uv@v6
with:
python-version: "3.13"
activate-environment: true
- name: Build distributions
if: env.PYPI_TOKEN != ''
env:
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ needs.build.outputs.version }}
run: |
pip install build twine
uv pip install build twine
python -m build
twine check dist/*