Skip to content

GitHub Action to collect, upload, and publish pytest-html-plus reports from CI runs. Automatically exposes the unified HTML report and artifacts for every workflow — no custom scripts, no merge steps, and works out of the box with parallel (xdist) test runs.

License

Notifications You must be signed in to change notification settings

reporterplus/pytest-html-plus-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

GitHub Action to collect, upload, and publish pytest-html-plus reports from CI runs. Automatically exposes the unified HTML report and artifacts for every workflow — no custom scripts, no merge steps, and works out of the box with parallel (xdist) test runs.

Resources

License

Stars

Watchers

Forks

Languages