diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index cd61998f8..b14c8ffe6 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -35,7 +35,7 @@ permissions: read-all env: # Default value for "-n" argument to pytest with pytest-xdist plugin. - pytest-n: ${{inputs.processes || 'logical'}} + pytest-n: ${{inputs.processes || 'auto'}} jobs: pytest: @@ -57,6 +57,18 @@ jobs: - name: Install dependencies run: uv sync --frozen --no-dev --group test + - name: Continuously monitor memory and disk space during execution + run: | + while true; do + printf '%0.s-' {1..80} + free -h + echo + df -h . + printf '%0.s-' {1..80} + echo + sleep 10 + done & + - name: Run the full Pytest suite env: # Adding xtrace makes Bash commands & scripts run with "-x".