Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sets environment variable named pytest-n which cannot be accessed from a shell. Consider renaming to pytest_n or just use the context expression as is in the uv run command below.

@mhucka mhucka Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's referenced using ${{env.pytest-n}}.

It does seem to work as-is. (Also, note that this env variable is not part of this PR, although the value is being changed.)


jobs:
pytest:
Expand All @@ -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".
Expand Down
Loading