Skip to content

Commit b085a4c

Browse files
authored
Migrate deprecated codecov to the latest recommended way (slackapi#1353)
1 parent ee23290 commit b085a4c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,8 @@ jobs:
4141
run: |
4242
python_version=`python -V`
4343
if [ ${python_version:7:3} == "3.9" ]; then
44-
codecov -e ${python_version:7}
44+
# python setup.py validate generates the coverage file
45+
curl -Os https://uploader.codecov.io/latest/linux/codecov
46+
chmod +x codecov
47+
./codecov -t ${CODECOV_TOKEN}
4548
fi

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"itsdangerous==1.1.0", # TODO: Flask-Sockets is not yet compatible with Flask 2.x
2626
"Jinja2==3.0.3", # https://github.com/pallets/flask/issues/4494
2727
"pytest-cov>=2,<3",
28-
"codecov>=2,<3",
2928
"flake8>=5,<6",
3029
"black==22.8.0",
3130
"click==8.0.4", # black is affected by https://github.com/pallets/click/issues/2225

0 commit comments

Comments
 (0)