Skip to content

Commit

Permalink
Remove tox cache in gh-actions to prevent no space error
Browse files Browse the repository at this point in the history
Error message:

    ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device
  • Loading branch information
j3soon committed Aug 14, 2024
1 parent 75f384a commit c78383e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-with-tox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Remove tox cache (Ubuntu and MacOS)
if: runner.os == 'Linux' || runner.os == 'macOS'
run: rm -rf .tox
- name: Remove tox cache (Windows)
if: runner.os == 'Windows'
run: rd /s /q .tox
- name: Prepare code coverage data
if: matrix.platform == 'ubuntu-22.04' && matrix.python-version == 3.9
run: |
Expand Down

0 comments on commit c78383e

Please sign in to comment.