Skip to content

Commit

Permalink
Debug/unittest disk space (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
HYLcool authored Feb 22, 2024
1 parent 092b3da commit 548f139
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Check disk space
run: |
df -h
- name: Cache data-juicer assets and models
uses: actions/cache@v3
with:
path: ~/.cache/data_juicer
key: dj-assets-models
- name: Check disk space
run: |
df -h
Expand All @@ -49,6 +41,14 @@ jobs:
sudo mkswap /mnt/swapfile
sudo swapon /mnt/swapfile
sudo swapon --show
- name: Cache data-juicer assets and models
uses: actions/cache@v3
with:
path: ~/.cache/data_juicer
key: dj-assets-models
- name: Check disk space
run: |
df -h
- name: Run the test
run: |
python tests/run.py

0 comments on commit 548f139

Please sign in to comment.