Loading .gitignore +3 −1 Original line number Diff line number Diff line *.pyc build/ dist/ .idea/ .cache/ .venv/ Loading @@ -10,4 +11,5 @@ MANIFEST *.xml.html *.egg-info *.code-workspace *.egg-info *.egg-info/ .gitlab-ci.yml +8 −12 Original line number Diff line number Diff line .common: before_script: - pip install pytest wheel - pip install pytest wheel build script: - python -m pip install -e . - python -m pytest -v . --junitxml=junit2html-job-${CI_JOB_NAME}.xml Loading @@ -8,7 +8,7 @@ - python -m junit2htmlreport --report-matrix tests/matrix-example.html tests/junit-axis-linux.xml tests/junit-axis-solaris.xml tests/junit-axis-windows.xml - python -m junit2htmlreport --merge junit2html-merged-example.xml tests/junit-unicode.xml tests/junit-unicode2.xml tests/junit-cute2.xml - python -m junit2htmlreport junit2html-merged-example.xml - python setup.py bdist_wheel - python -m build -w - python -m junit2htmlreport --summary-matrix - < junit2html-job-${CI_JOB_NAME}.xml artifacts: paths: Loading @@ -20,21 +20,17 @@ - junit2html-job-*.xml python36: image: python:3.6 extends: .common python38: python-3.8: image: python:3.8 extends: .common python39: image: python:3.9 python-3.13: image: python:3.13 extends: .common coverage: image: python:3.9 coverage-3.13: image: python:3.13 script: - pip install pytest pytest-cov - pip install -e . - python3 -m pytest --cov-fail-under=86 --cov=junit2htmlreport . No newline at end of file - python3 -m pytest --cov-fail-under=87 --cov=junit2htmlreport . No newline at end of file README.md +10 −2 Original line number Diff line number Diff line Loading @@ -43,10 +43,18 @@ junit2html --summary-matrix ./tests/junit-unicode.xml --max-failures 1 # Installation junit2html is installable via a variety of tools including python virtualenvs, pipx, poetry and others. ## Install via pipx ``` $ sudo python setup.py install $ pipx install junit2html ``` or ## Install from source ``` $ pip install . ``` ## Install from pypi ``` $ sudo pip install junit2html ``` Loading pyproject.toml 0 → 100644 +3 −0 Original line number Diff line number Diff line [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" No newline at end of file setup.cfg 0 → 100644 +32 −0 Original line number Diff line number Diff line [metadata] name = junit2html version = 31.0.3 description = Generate HTML reports from Junit results long_description = Genearate a single file HTML report from a Junit or XUnit XML results file author = Ian Norton author_email = inorton@gmail.com url = https://gitlab.com/inorton/junit2html license = License :: OSI Approved :: MIT License [options] platforms = any python_requires = >= 3.8 install_requires = jinja2>=3.0 include_package_data = True packages = junit2htmlreport [options.package_data] junit2htmlreport = templates/*.css templates/*.html [options.entry_points] console_scripts = junit2html = junit2htmlreport.runner:start Loading
.gitignore +3 −1 Original line number Diff line number Diff line *.pyc build/ dist/ .idea/ .cache/ .venv/ Loading @@ -10,4 +11,5 @@ MANIFEST *.xml.html *.egg-info *.code-workspace *.egg-info *.egg-info/
.gitlab-ci.yml +8 −12 Original line number Diff line number Diff line .common: before_script: - pip install pytest wheel - pip install pytest wheel build script: - python -m pip install -e . - python -m pytest -v . --junitxml=junit2html-job-${CI_JOB_NAME}.xml Loading @@ -8,7 +8,7 @@ - python -m junit2htmlreport --report-matrix tests/matrix-example.html tests/junit-axis-linux.xml tests/junit-axis-solaris.xml tests/junit-axis-windows.xml - python -m junit2htmlreport --merge junit2html-merged-example.xml tests/junit-unicode.xml tests/junit-unicode2.xml tests/junit-cute2.xml - python -m junit2htmlreport junit2html-merged-example.xml - python setup.py bdist_wheel - python -m build -w - python -m junit2htmlreport --summary-matrix - < junit2html-job-${CI_JOB_NAME}.xml artifacts: paths: Loading @@ -20,21 +20,17 @@ - junit2html-job-*.xml python36: image: python:3.6 extends: .common python38: python-3.8: image: python:3.8 extends: .common python39: image: python:3.9 python-3.13: image: python:3.13 extends: .common coverage: image: python:3.9 coverage-3.13: image: python:3.13 script: - pip install pytest pytest-cov - pip install -e . - python3 -m pytest --cov-fail-under=86 --cov=junit2htmlreport . No newline at end of file - python3 -m pytest --cov-fail-under=87 --cov=junit2htmlreport . No newline at end of file
README.md +10 −2 Original line number Diff line number Diff line Loading @@ -43,10 +43,18 @@ junit2html --summary-matrix ./tests/junit-unicode.xml --max-failures 1 # Installation junit2html is installable via a variety of tools including python virtualenvs, pipx, poetry and others. ## Install via pipx ``` $ sudo python setup.py install $ pipx install junit2html ``` or ## Install from source ``` $ pip install . ``` ## Install from pypi ``` $ sudo pip install junit2html ``` Loading
pyproject.toml 0 → 100644 +3 −0 Original line number Diff line number Diff line [build-system] requires = ["setuptools", "wheel"] build-backend = "setuptools.build_meta" No newline at end of file
setup.cfg 0 → 100644 +32 −0 Original line number Diff line number Diff line [metadata] name = junit2html version = 31.0.3 description = Generate HTML reports from Junit results long_description = Genearate a single file HTML report from a Junit or XUnit XML results file author = Ian Norton author_email = inorton@gmail.com url = https://gitlab.com/inorton/junit2html license = License :: OSI Approved :: MIT License [options] platforms = any python_requires = >= 3.8 install_requires = jinja2>=3.0 include_package_data = True packages = junit2htmlreport [options.package_data] junit2htmlreport = templates/*.css templates/*.html [options.entry_points] console_scripts = junit2html = junit2htmlreport.runner:start