Skip to content

Commit 851a0dc

Browse files
committed
try to reduce disk space used
1 parent 04ff91c commit 851a0dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
- name: Install dependencies
3939
run: |
4040
python -m pip install --upgrade pip
41+
# Clean up apt cache to save space
42+
apt-get clean
43+
rm -rf /var/lib/apt/lists/*
44+
df -h
4145
# Install python dependencies (with coverage enabled)
4246
echo -e "\n##### Running pip install #####"
4347
pip install -e '.[dev]' --config-settings=cmake.args="-DENABLE_COVERAGE=ON"

0 commit comments

Comments
 (0)