You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Create Issue From pytest log
v1.2
Create or update an issue for failed tests from a pytest-reportlog file.
To use the issue-from-pytest-log
action in workflows, simply add a new step:
jobs:
my-job:
...
strategy:
fail-fast: false
...
...
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
...
- uses: xarray-contrib/issue-from-pytest-log@main
if: |
failure()
&& ...
with:
log-path: pytest-log.jsonl