Skip to content

Python

pytest-html outputs a useful document.

Terminal window
pip install pytest-html
- run: pytest tests --html report/index.html
- uses: actions/upload-artifact@v4
if: always()
with:
name: pytest
path: report

pytest example