GitHub Marketplace Documentation
Run pytest inside GitHub Actions with rich HTML/JSON/XML reports and screenshots, powered by pytest-html-plus.
- 📊 Generates HTML, JSON, and XML reports
- 📸 Supports screenshots (
failed,all,none) - 🐍 Works with pip or Poetry projects
- ⚡ Easy drop-in for existing pytest workflows
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"