Skip to content

Commit 00a063b

Browse files
Marcos Martínez GalindoMarcos Martínez Galindo
Marcos Martínez Galindo
authored and
Marcos Martínez Galindo
committed
✅ Add clear cache after tests
Signed-off-by: Marcos Martínez Galindo <marcosmartinezgalindo@Marcoss-MacBook-Pro.local>
1 parent 6b4d366 commit 00a063b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python-tests.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,20 @@ jobs:
3939
- name: Lint with flake8
4040
run: |
4141
flake8 --ignore E501,W503 zshot/
42-
- name: Install Spacy pipeline
42+
- name: Install Spacy pipeline and download models
4343
run: |
4444
python -m spacy download en_core_web_sm
4545
python -m zshot.utils.download_models
4646
- name: Test with pytest
4747
run: |
4848
python -m pytest --cov -v --cov-report xml:/home/runner/coverage.xml
4949
timeout-minutes: 30
50+
- name: Remove cache
51+
uses: JesseTG/rm@v1.0.3
52+
with:
53+
path: |
54+
~/.cache/huggingface
55+
~/.cache/zshot
5056
- name: Upload coverage to Codecov
5157
uses: codecov/codecov-action@v3.1.1
5258
with:

0 commit comments

Comments
 (0)