ESSS / pytest-replay

Saves runs to allow to re-execute previous pytest runs to reproduce crashes or flaky tests
MIT License
54 stars 4 forks source link

Pytest-replay does not generate files on Github Actions #49

Closed KelSolaar closed 11 months ago

KelSolaar commented 11 months ago

Hello,

I have been trying to use pytest-replay as part of pytest-dev/pytest-xdist/issues/979 and I cannot get any files written on Github Actions. The plugin is loaded correctly afaik and the poetry run python -W ignore -m pytest --doctest-modules --ignore=$CI_PACKAGE/examples --cov=$CI_PACKAGE $CI_PACKAGE --replay-record-dir=replay command works fine locally and generate the expected txt files:

image

nicoddemus commented 11 months ago

Use ls -la, the files start with . so they are hidden by default.

KelSolaar commented 11 months ago

Ah of course... Been a long week... Any rational as to why the filename would start with . / file hidden?

nicoddemus commented 11 months ago

I don't recall the rationale used TBH. 😕

KelSolaar commented 11 months ago

No worries, and thanks again!