Skip to content

Commit

Permalink
Migrate deprecated codecov to the latest recommended way (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Apr 13, 2023
1 parent ee23290 commit b085a4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ jobs:
run: |
python_version=`python -V`
if [ ${python_version:7:3} == "3.9" ]; then
codecov -e ${python_version:7}
# python setup.py validate generates the coverage file
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}
fi
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"itsdangerous==1.1.0", # TODO: Flask-Sockets is not yet compatible with Flask 2.x
"Jinja2==3.0.3", # https://github.com/pallets/flask/issues/4494
"pytest-cov>=2,<3",
"codecov>=2,<3",
"flake8>=5,<6",
"black==22.8.0",
"click==8.0.4", # black is affected by https://github.com/pallets/click/issues/2225
Expand Down

0 comments on commit b085a4c

Please sign in to comment.