Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
61eb992
mypy junitparser
korbi-web-215 Jun 13, 2025
65dad78
Fix fmt
ubmarco Jun 16, 2025
bcaba18
Remove junitparser from excludes
ubmarco Jun 16, 2025
019810b
Fix all mypy errors in jsonparser.py
korbi-web-215 Jul 20, 2025
4427f07
Fix all mypy errors in junitparser.py
korbi-web-215 Jul 20, 2025
a19b4a0
Fix all mypy errors in test_results.py
korbi-web-215 Jul 20, 2025
612c65f
fix mypy error in environment.py
korbi-web-215 Aug 6, 2025
f3234b8
fix mypy error in exceptions.py
korbi-web-215 Aug 6, 2025
821e126
fix mypy error test_reports.py
korbi-web-215 Aug 6, 2025
aaa35ed
fix mypy error test_case.py
korbi-web-215 Aug 6, 2025
2dcd656
fix mypy error test_common.py
korbi-web-215 Aug 6, 2025
ee02197
fix mypy error test_env.py
korbi-web-215 Aug 6, 2025
25c0ddd
fix mypy error test_flie.py
korbi-web-215 Aug 6, 2025
4e4a511
fix mypy error test_report.py
korbi-web-215 Aug 6, 2025
07ceed5
fix mypy error test_suite.py
korbi-web-215 Aug 6, 2025
1f8c5d0
fix mypy error __init__.py
korbi-web-215 Aug 6, 2025
6a3849d
fix mypy error in environment
korbi-web-215 Aug 30, 2025
4536bec
fix mypy error on test_reports.py
korbi-web-215 Aug 30, 2025
a01a9f3
fix mypy error in test_case.py
korbi-web-215 Aug 30, 2025
189b383
fix mypy errors in test_common.py
korbi-web-215 Aug 30, 2025
dd85b11
fix mypy errors test_env.py
korbi-web-215 Aug 30, 2025
d9fd750
fix mypy errors test_file.py
korbi-web-215 Aug 30, 2025
689bed7
fix mypy errors test_report.py
korbi-web-215 Aug 30, 2025
95621b3
fix one mypy error
korbi-web-215 Aug 30, 2025
1a491f6
fix mypy errors test_suite.py
korbi-web-215 Aug 30, 2025
bb6bf4c
rebasen vom master
korbi-web-215 Oct 18, 2025
4405acf
pre-commits
korbi-web-215 Oct 18, 2025
128702d
mypy fixes
korbi-web-215 Oct 18, 2025
16ac6f5
fix: use getattr for needs_collapse_details in TestCommonDirective
korbi-web-215 Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
os: [ubuntu-latest]
python-version: ["3.10", "3.12"] # No "3.10", as nose seem to have problems with it
sphinx-version: ["5.0", "8.1.3"]
sphinx_needs-version: ["2.1", "4.2"]
sphinx_needs-version: ["2.1", "4.2", "5.1"]
steps:
- uses: actions/checkout@v2
- name: Set Up Python ${{ matrix.python-version }}
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Release
on:
push:
tags:
- '[0-9].[0-9]+.[0-9]+'

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: read

jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install pypa/build
run: >-
python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/

publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
needs:
- build
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Binary file modified .gitignore
Binary file not shown.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Sphinx-Test-Reports
===================

.. image:: docs/_static/sphinx-test-reports-logo.png
.. image:: https://raw.githubusercontent.com/useblocks/sphinx-test-reports/master/docs/_static/sphinx-test-reports-logo.png

Sphinx-Test-Reports shows test results of your unit tests inside your sphinx documentation.

Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
author = "team useblocks"

# The short X.Y version
version = "1.2"
version = "1.3"
# The full version, including alpha/beta/rc tags
release = "1.2.0"
release = "1.3.1"

needs_id_regex = ".*"
needs_css = "dark.css"
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PYTHON_VERSIONS = ["3.10", "3.12"]
SPHINX_VERSIONS = ["5.0", "7.2.5", "8.1.3"]
SPHINX_NEEDS_VERSIONS = ["2.1", "4.2"]
SPHINX_NEEDS_VERSIONS = ["2.1", "4.2", "5.1", "6.0.1"]


def run_tests(session, sphinx, sphinx_needs):
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "sphinx-test-reports"
version = "1.2.0"
version = "1.3.1"
description = "Sphinx extension for showing test results and test environment information inside sphinx documentations"
readme = "README.rst"
license = { text = "MIT" }
Expand Down Expand Up @@ -40,7 +40,6 @@ docs = [
"sphinx-design",
"sphinx-immaterial",
"sphinx-needs>=4",
"sphinx-test-reports>=0.3.3",
"sphinx==7",
"sphinxcontrib-plantuml",
]
Expand Down Expand Up @@ -99,7 +98,6 @@ exclude = [
"^sphinxcontrib/test_reports/exceptions\\.py$",
"^sphinxcontrib/test_reports/functions",
"^sphinxcontrib/test_reports/jsonparser\\.py$",
"^sphinxcontrib/test_reports/junitparser\\.py$",
"^sphinxcontrib/test_reports/test_reports\\.py$",
]
# Disallow dynamic typing
Expand Down
Loading