Skip to content

Commit

Permalink
added chages in workflow to check Disk Usage and have the No Cache op…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
rhnfzl committed Nov 13, 2024
1 parent eecf9b4 commit 9c05516
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Check initial disk usage
run: df -h

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install hypothesis faker flake8 pytest
pip install -e . --no-cache-dir
if [ -f requirements.txt ]; then pip install -r requirements.txt --no-cache-dir; fi
pip install hypothesis faker flake8 pytest --no-cache-dir
- name: Clean up pip cache
run: pip cache purge

- name: Check disk usage after install
run: df -h

- name: Download NLTK stopwords
run: |
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,21 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Check initial disk usage
run: df -h

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install hypothesis faker flake8 pytest
pip install -e . --no-cache-dir
if [ -f requirements.txt ]; then pip install -r requirements.txt --no-cache-dir; fi
pip install hypothesis faker flake8 pytest --no-cache-dir
- name: Clean up pip cache
run: pip cache purge

- name: Check disk usage after install
run: df -h

- name: Download NLTK stopwords
run: |
Expand Down

0 comments on commit 9c05516

Please sign in to comment.