-
Notifications
You must be signed in to change notification settings - Fork 255
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: junjie.jiang <[email protected]>
- Loading branch information
1 parent
67a9f1f
commit 8b9cbf2
Showing
2 changed files
with
39 additions
and
38 deletions.
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 |
---|---|---|
|
@@ -29,16 +29,17 @@ jobs: | |
- name: Generate coverage report | ||
run: | | ||
export TOWHEE_WORKER=True | ||
export HF_ENDPOINT=https://hf-mirror.com | ||
rm -rf ./coverage.xml | ||
pip install coverage pytest pytest-cov pytest-xdist | ||
pip install -r test_requirements.txt | ||
apt-get update --fix-missing && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -y ffmpeg libsm6 libxext6 | ||
coverage erase | ||
coverage run -m pytest | ||
coverage xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: /__w/towhee/towhee/coverage.xml | ||
fail_ci_if_error: true | ||
# - name: Upload coverage to Codecov | ||
# uses: codecov/[email protected] | ||
# with: | ||
# token: ${{ secrets.CODECOV_TOKEN }} | ||
# files: /__w/towhee/towhee/coverage.xml | ||
# fail_ci_if_error: true |
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