Skip to content

Commit

Permalink
Replace codecov pip package with codecov uploader (#17349)
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Apr 12, 2023
1 parent 1aa2326 commit 472333c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .azure/gpu-tests-fabric.yml
Expand Up @@ -142,7 +142,11 @@ jobs:
python -m coverage report
python -m coverage xml
python -m coverage html
python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
# https://docs.codecov.com/docs/codecov-uploader
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
--flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure
ls -l
workingDirectory: tests/tests_fabric
Expand Down
6 changes: 5 additions & 1 deletion .azure/gpu-tests-pytorch.yml
Expand Up @@ -181,7 +181,11 @@ jobs:
python -m coverage report
python -m coverage xml
python -m coverage html
python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
# https://docs.codecov.com/docs/codecov-uploader
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) \
--flags=gpu,pytest,${COVERAGE_SOURCE} --name="GPU-coverage" --env=linux,azure
ls -l
workingDirectory: tests/tests_pytorch
Expand Down
1 change: 0 additions & 1 deletion requirements/app/test.txt
@@ -1,5 +1,4 @@
coverage==6.5.0
codecov==2.1.12
pytest==7.2.2
pytest-timeout==2.1.0
pytest-cov==4.0.0
Expand Down
1 change: 0 additions & 1 deletion requirements/fabric/test.txt
@@ -1,5 +1,4 @@
coverage==6.5.0
codecov==2.1.12
pytest==7.2.2
pytest-cov==4.0.0
pytest-rerunfailures==10.3
Expand Down
1 change: 0 additions & 1 deletion requirements/pytorch/test.txt
@@ -1,5 +1,4 @@
coverage==6.5.0
codecov==2.1.12
pytest==7.2.2
pytest-cov==4.0.0
pytest-forked==1.4.0
Expand Down

0 comments on commit 472333c

Please sign in to comment.