From bdf57472c3a5b7030a69ce6194253c98714fad9b Mon Sep 17 00:00:00 2001 From: Petr Andriushchenko Date: Mon, 16 Oct 2023 15:23:10 +0200 Subject: [PATCH] added clear cache in windows in ci --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d20a490e..0720094b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,11 +48,15 @@ jobs: run: | cd ammico python -m pytest test/test_multimodal_search.py -m "not long" -svv --cov=. --cov-report=xml --cov-append + - name: Clear cache windows + if: matrix.os == 'windows-latest' + run: | + del /S 'C:\Users\runneradmin\AppData\Local\pooch\pooch\Cache\* # - name: Run pytest test_objects # run: | # cd ammico # python -m pytest test/test_objects.py -svv --cov=. --cov-report=xml --cov-append - - name: Clear cache + - name: Clear cache ubuntu if: matrix.os == 'ubuntu-22.04' run: | rm -rf ~/.cache/*