Skip to content

Commit

Permalink
✅ Add clear cache after tests
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Martínez Galindo <marcosmartinezgalindo@Marcoss-MacBook-Pro.local>
  • Loading branch information
Marcos Martínez Galindo authored and Marcos Martínez Galindo committed Aug 16, 2024
1 parent 6b4d366 commit 00a063b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,20 @@ jobs:
- name: Lint with flake8
run: |
flake8 --ignore E501,W503 zshot/
- name: Install Spacy pipeline
- name: Install Spacy pipeline and download models
run: |
python -m spacy download en_core_web_sm
python -m zshot.utils.download_models
- name: Test with pytest
run: |
python -m pytest --cov -v --cov-report xml:/home/runner/coverage.xml
timeout-minutes: 30
- name: Remove cache
uses: JesseTG/rm@v1.0.3
with:
path: |
~/.cache/huggingface
~/.cache/zshot
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.1
with:
Expand Down

0 comments on commit 00a063b

Please sign in to comment.