Skip to content

Commit 3b9683c

Browse files
authored
Clean disk space in conda test pipeline (#7902)
Fixes #7901 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: YunLiu <[email protected]>
1 parent 58106a6 commit 3b9683c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/conda.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
maximum-size: 16GB
3333
disk-root: "D:"
3434
- uses: actions/checkout@v4
35+
- name: Clean up disk space
36+
run: |
37+
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
38+
rm -rf /usr/share/dotnet/
3539
- uses: conda-incubator/setup-miniconda@v3
3640
with:
3741
auto-update-conda: true

0 commit comments

Comments
 (0)