-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marcos Martínez Galindo <[email protected]>
- 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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
with: | ||
path: | | ||
~/.cache/huggingface | ||
~/.cache/zshot | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
|