-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: from coveralls to codecov (#229)
* ci: from coveralls to codecov * add cov back
- Loading branch information
1 parent
808f637
commit f91ed35
Showing
3 changed files
with
6 additions
and
15 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,13 +25,9 @@ jobs: | |
python -m pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
pre-commit install | ||
- name: Run pre-commit | ||
run: | | ||
pre-commit run -a | ||
- name: Test with pytest | ||
run: | | ||
pytest --cov=pyitau | ||
- name: Upload coverage data to coveralls.io | ||
run: coveralls --service=github | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: pre-commit run -a | ||
- run: pytest --cov=pyitau | ||
- uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: lucasrcezimbra/pyitau |
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
-e . | ||
|
||
coveralls==3.3.1 | ||
flake8==6.0.0 | ||
pre-commit==3.1.1 | ||
pytest==7.2.2 | ||
|