Skip to content
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

Add step to github action for freeing disk space #526

Merged
merged 2 commits into from
Mar 20, 2024
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
6 changes: 6 additions & 0 deletions .github/workflows/run-tests-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ on:
type: string
required: true


env:
PY_COLORS: 1

jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
large-packages: false
Copy link
Collaborator

Choose a reason for hiding this comment

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

@schroedk Wouldn't it be better to remove android support (14GB) than large-packages (5GB)?

Also, among the large packages might be some for image processing, which are required for a new plugin in mkdocs. Although this only runs in tests, someone might be tempted to copy paste the step at some point.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@mdbenito android is removed by default, ... : false means exclude it from cleaning. So large-packages are excluded from cleaning.

docker-images: false
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down
Loading