mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2026-01-06 12:01:57 +00:00
Compare commits
8 Commits
2025.5.20.
...
2025.5.20.
| Author | SHA1 | Date | |
|---|---|---|---|
| 36f9b91cc1 | |||
| 3013095bdd | |||
| 6e84ea0446 | |||
| 529fe17d24 | |||
| 0fd2466b49 | |||
| 8f5c1e36a5 | |||
| 1992a4cee0 | |||
| 40ed1aa4f9 |
17
.github/workflows/publish.yml
vendored
17
.github/workflows/publish.yml
vendored
@@ -1,9 +1,11 @@
|
||||
name: Publish to PyPI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
workflow_run:
|
||||
workflows:
|
||||
- Auto Version Tag
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
@@ -11,8 +13,13 @@ jobs:
|
||||
environment: release
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install uv
|
||||
run: pip install uv
|
||||
- name: Set up uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
with:
|
||||
python-version: "${{ matrix.python-version }}"
|
||||
enable-cache: true
|
||||
cache-dependency-glob: |
|
||||
pyproject.toml
|
||||
- name: Build package
|
||||
run: uv build
|
||||
- name: Publish to PyPI
|
||||
|
||||
24
.readthedocs.yaml
Normal file
24
.readthedocs.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# Read the Docs configuration file
|
||||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
||||
|
||||
# Required
|
||||
version: 2
|
||||
|
||||
# Set the OS, Python version, and other tools you might need
|
||||
build:
|
||||
os: ubuntu-24.04
|
||||
tools:
|
||||
python: "3.13"
|
||||
jobs:
|
||||
pre_create_environment:
|
||||
- asdf plugin add uv
|
||||
- asdf install uv latest
|
||||
- asdf global uv latest
|
||||
create_environment:
|
||||
- uv sync --group docs
|
||||
install:
|
||||
- uv run python -m sphinx -T -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html
|
||||
|
||||
# Build documentation in the "docs/" directory with Sphinx
|
||||
sphinx:
|
||||
configuration: docs/conf.py
|
||||
@@ -8,4 +8,4 @@
|
||||
|
||||
"""Metadata for this python module."""
|
||||
|
||||
__version__ = "2025.5.20.2"
|
||||
__version__ = "2025.5.20.9"
|
||||
|
||||
@@ -67,6 +67,11 @@ tests = [
|
||||
"ruff>=0.5.3",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
docs = [
|
||||
"invenio-app>=1.5.0",
|
||||
"invenio-search[opensearch2]>=2.1.0",
|
||||
"Sphinx>=4.5.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling", "hatch-calver"]
|
||||
|
||||
10
uv.lock
generated
10
uv.lock
generated
@@ -1722,6 +1722,11 @@ dev = [
|
||||
{ name = "pydocstyle" },
|
||||
{ name = "ruff" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
{ name = "sphinx" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app" },
|
||||
{ name = "invenio-search", extra = ["opensearch2"] },
|
||||
@@ -1745,6 +1750,11 @@ dev = [
|
||||
{ name = "pydocstyle", specifier = ">=6.3.0" },
|
||||
{ name = "ruff", specifier = ">=0.11.7" },
|
||||
]
|
||||
docs = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
{ name = "sphinx", specifier = ">=4.5.0" },
|
||||
]
|
||||
tests = [
|
||||
{ name = "invenio-app", specifier = ">=1.5.0" },
|
||||
{ name = "invenio-search", extras = ["opensearch2"], specifier = ">=2.1.0" },
|
||||
|
||||
Reference in New Issue
Block a user