Skip to content

Commit 472333c

Browse files
authored
Replace codecov pip package with codecov uploader (#17349)
1 parent 1aa2326 commit 472333c

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.azure/gpu-tests-fabric.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ jobs:
142142
python -m coverage report
143143
python -m coverage xml
144144
python -m coverage html
145-
python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
145+
146+
# https://docs.codecov.com/docs/codecov-uploader
147+
curl -Os https://uploader.codecov.io/latest/linux/codecov
148+
chmod +x codecov
149+
./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
146150
--flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure
147151
ls -l
148152
workingDirectory: tests/tests_fabric

.azure/gpu-tests-pytorch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,11 @@ jobs:
181181
python -m coverage report
182182
python -m coverage xml
183183
python -m coverage html
184-
python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
184+
185+
# https://docs.codecov.com/docs/codecov-uploader
186+
curl -Os https://uploader.codecov.io/latest/linux/codecov
187+
chmod +x codecov
188+
./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
185189
--flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure
186190
ls -l
187191
workingDirectory: tests/tests_pytorch

requirements/app/test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
coverage==6.5.0
2-
codecov==2.1.12
32
pytest==7.2.2
43
pytest-timeout==2.1.0
54
pytest-cov==4.0.0

requirements/fabric/test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
coverage==6.5.0
2-
codecov==2.1.12
32
pytest==7.2.2
43
pytest-cov==4.0.0
54
pytest-rerunfailures==10.3

requirements/pytorch/test.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
coverage==6.5.0
2-
codecov==2.1.12
32
pytest==7.2.2
43
pytest-cov==4.0.0
54
pytest-forked==1.4.0

0 commit comments

Comments
 (0)