-
Notifications
You must be signed in to change notification settings - Fork 2
Fix tests OOM #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests OOM #114
Conversation
| test: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| PIP_NO_CACHE_DIR: "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the environment variable is redundant with --no-cache-dir flags, but doesn't hurt
| # Upgrade pip and install build backend | ||
| - name: Upgrade pip & install build tools | ||
| run: | | ||
| python -m pip install --upgrade pip setuptools wheel --no-cache-dir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to fix pip._vendor.pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta' for Python >= 3.12
|
|
||
| steps: | ||
| # Free disk space | ||
| - name: Free disk space |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might take from here? https://mathio28.medium.com/squeezing-disk-space-from-github-actions-runners-an-engineers-guide-d5fbe4443692#ecb6
Or even make the clean-up a repo-own action which can then be used in multiple workflows
No description provided.