From 548f13971587b48a98f379778ca8ba50ac4ac8ed Mon Sep 17 00:00:00 2001 From: Yilun Huang Date: Thu, 22 Feb 2024 16:51:54 +0800 Subject: [PATCH] Debug/unittest disk space (#216) --- .github/workflows/unit-test.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 2f564986d..8a43a778f 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -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 @@ -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