diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 41c49264..6fe73b17 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -72,7 +72,11 @@ jobs: BEAMLINE: SIMULATED run: | source .venv/bin/activate - pytest ./tests/unit + # -vv: one line per test, so a hung job shows the exact test it + # died in, not just a file of dots. -s: no output capture — prints + # and logs stream live instead of vanishing with a wedged worker + # (a pxiii_bec job once sat silent at 81% for hours). + pytest -s -vv ./tests/unit test-with-beamline-plugins: runs-on: ubuntu-latest @@ -105,7 +109,9 @@ jobs: BEAMLINE: SIMULATED run: | source .venv/bin/activate - pytest ./tests/unit + # Same -s -vv rationale as the plain test job: live, per-test + # output so a plugin-variant hang is diagnosable from the log. + pytest -s -vv ./tests/unit test-with-coverage: runs-on: ubuntu-latest