Skip to content

Commit

Permalink
ci: remove dependency on codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
mackrorysd committed Dec 17, 2024
1 parent 577ba8b commit 185a04a
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions .circleci/real_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
version: 2.1

orbs:
codecov: codecov/[email protected]
gcloud: circleci/[email protected]
gh: circleci/[email protected]
helm: circleci/[email protected]
Expand Down Expand Up @@ -320,10 +319,6 @@ commands:
- run: curl --retry-connrefused --retry 10 -o /tmp/protoc.zip -L https://github.com/protocolbuffers/protobuf/releases/download/v24.3/protoc-24.3-linux-x86_64.zip
- run: unzip -o /tmp/protoc.zip -d $HOME/.local

install-codecov:
steps:
- run: pip install codecov

setup-go-intg-deps:
steps:
- install-protoc # Install newer version of protoc into $HOME/.local/bin, since default is proto2.
Expand Down Expand Up @@ -2131,9 +2126,6 @@ jobs:
- skip-if-only-github
- react-get-deps
- run: make -C webui/react test-ci
- codecov/upload:
flags: "web"
xtra_args: "-v"
- store_test_results:
path: webui/react/junit.xml
- store_artifacts:
Expand Down Expand Up @@ -2244,9 +2236,6 @@ jobs:
- run: minikube start
- license-gen
- run: make -C master test-intg
- codecov/upload:
flags: "backend"
xtra_args: "-v -X fixes"
- store_test_results:
path: master/test-intg.junit.xml
- persist_to_workspace:
Expand All @@ -2272,9 +2261,6 @@ jobs:
executor: <<pipeline.parameters.machine-image>>
- setup-go-intg-deps
- run: make -C agent test-intg
- codecov/upload:
flags: "backend"
xtra_args: "-v -X fixes"
- store_test_results:
path: agent/test-intg.junit.xml
- persist_to_workspace:
Expand Down Expand Up @@ -2384,15 +2370,13 @@ jobs:
- skip-if-only-docs
- skip-if-only-github
- skip-if-only-webui
- install-codecov
- setup-python-venv:
install-python: false
determined: true
extra-requirements-file: "harness/tests/requirements/requirements-harness.txt"
executor: <<pipeline.parameters.docker-image>>
- run: COVERAGE_FILE=$PWD/test-unit-harness-cpu-pycov make -C harness test-cpu
- run: coverage xml -i --data-file=./test-unit-harness-cpu-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2412,7 +2396,6 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- setup-python-venv:
install-python: true
Expand All @@ -2421,7 +2404,6 @@ jobs:
executor: machine-<<pipeline.parameters.gpu-machine-resource-class>>
- run: COVERAGE_FILE=/home/circleci/project/test-unit-harness-gpu-tf-pycov make -C harness test-gpu-tf
- run: coverage xml -i --data-file=./test-unit-harness-gpu-tf-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2441,7 +2423,6 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- setup-python-venv:
install-python: true
Expand All @@ -2451,7 +2432,6 @@ jobs:
install-nvidia-apex: true
- run: COVERAGE_FILE=/home/circleci/project/test-unit-harness-pytorch2-gpu-pycov make -C harness test-pytorch-gpu
- run: coverage xml -i --data-file=./test-unit-harness-pytorch2-gpu-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2470,11 +2450,9 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- run: echo 'export PATH=$PATH:$HOME/.local/bin' >> $BASH_ENV
- run: COVERAGE_FILE=/root/project/test-unit-harness-pytorch2-cpu-pycov make -C harness test-pytorch-cpu
- run: coverage xml -i --data-file=./test-unit-harness-pytorch2-cpu-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2494,7 +2472,6 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- setup-python-venv:
install-python: true
Expand All @@ -2504,7 +2481,6 @@ jobs:
install-nvidia-apex: true
- run: COVERAGE_FILE=/home/circleci/project/test-unit-harness-gpu-parallel-pycov make -C harness test-gpu-parallel
- run: coverage xml -i --data-file=./test-unit-harness-gpu-parallel-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2524,7 +2500,6 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- setup-python-venv:
install-python: true
Expand All @@ -2533,7 +2508,6 @@ jobs:
executor: machine-<<pipeline.parameters.gpu-machine-resource-class>>
- run: COVERAGE_FILE=/home/circleci/project/test-unit-harness-gpu-deepspeed-pycov make -C harness test-gpu-deepspeed
- run: coverage xml -i --data-file=./test-unit-harness-gpu-deepspeed-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2550,14 +2524,11 @@ jobs:
- skip-if-only-docs
- skip-if-only-github
- skip-if-only-webui
- install-codecov
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- run: make -C harness install
- run: COVERAGE_FILE=$PWD/test-unit-harness-tf2-pycov make -C harness test-tf2
- run: coverage xml -i --data-file=./test-unit-harness-tf2-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand All @@ -2574,15 +2545,13 @@ jobs:
- skip-if-only-docs
- skip-if-only-github
- skip-if-only-webui
- install-codecov
- setup-python-venv:
install-python: false
determined: true
extra-requirements-file: "harness/tests/requirements/requirements-harness.txt"
executor: <<pipeline.parameters.docker-image>>
- run: COVERAGE_FILE=$PWD/test-unit-storage-pycov coverage run -m pytest -v --durations=0 --junitxml=/tmp/test-results/test-unit-storage.xml --require-secrets -m cloud harness/tests
- run: coverage xml -i --data-file=./test-unit-storage-pycov
- run: codecov -v -t $CODECOV_TOKEN -F harness
- persist_to_workspace:
root: .
paths:
Expand Down

0 comments on commit 185a04a

Please sign in to comment.