-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4cfaba
commit f4ed177
Showing
1 changed file
with
8 additions
and
2 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 |
---|---|---|
|
@@ -25,7 +25,13 @@ jobs: | |
run: | | ||
sudo venv/bin/python -m pip install -r requirements.txt | ||
sudo venv/bin/python -m pip install pycocotools==2.0.7 | ||
sudo venv/bin/python -m unittest discover tests | ||
sudo venv/bin/python -m pip install coverage | ||
sudo venv/bin/python -m coverage run -m unittest discover tests | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: EMalagoli92/OD-Metrics | ||
- name: Mypy | ||
run: | | ||
sudo venv/bin/python -m pip install mypy | ||
|
@@ -160,4 +166,4 @@ jobs: | |
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
password: ${{ secrets.PYPI_API_TOKEN }} |