Skip to content

Pytest HTML Plus Action

Actions
Run pytest with pytest-html-plus and generate rich reports
v1
Latest
Star (1)

Pytest HTML Plus Action

GitHub Marketplace Documentation

Run pytest inside GitHub Actions with rich HTML/JSON/XML reports and screenshots, powered by pytest-html-plus.


✨ Features

  • 📊 Generates HTML, JSON, and XML reports
  • 📸 Supports screenshots (failed, all, none)
  • 🐍 Works with pip or Poetry projects
  • ⚡ Easy drop-in for existing pytest workflows

🚀 Quickstart

Add this step to your workflow after you’ve installed your project dependencies (via pip install -r requirements.txt or poetry install):

- name: Run tests with HTML Plus reports
  uses: reporterplus/pytest-html-plus-action@v1
  with:
    testpath: "tests/"
    htmloutput: "report_output"
    capturescreenshots: "all"
    usepoetry: "true"

Pytest HTML Plus Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run pytest with pytest-html-plus and generate rich reports
v1
Latest

Pytest HTML Plus Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.