Skip to content

Commit 80e5d52

Browse files
authored
Update test.yml, clean up runner disk before installing python dependencies
1 parent d8f6797 commit 80e5d52

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@ jobs:
5656
fail_ci_if_error: true
5757

5858
# --- PYTHON SECTION ---
59+
- name: Free Disk Space
60+
uses: jlumbroso/free-disk-space@main
61+
with:
62+
tool-cache: false # Keep this false to preserve Python/Node/Go tools
63+
android: true
64+
dotnet: true
65+
haskell: true
66+
large-packages: true
67+
docker-images: true
68+
swap-storage: true
69+
5970
- name: Setup Python
6071
uses: actions/setup-python@v5
6172
with:
@@ -66,7 +77,9 @@ jobs:
6677
working-directory: ./apps/ingestion-worker
6778

6879
- name: Test Python
69-
run: pytest --cov=./ --cov-report=xml:coverage-python.xml
80+
run: |
81+
pip install --no-cache-dir -r requirements.txt
82+
pytest --cov=./ --cov-report=xml:coverage-python.xml
7083
working-directory: ./apps/ingestion-worker
7184

7285
- name: Upload Python Coverage

0 commit comments

Comments
 (0)