python

pytest-html outputs a useful document.

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

pytest example