Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -317,10 +316,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 @@ -2097,9 +2092,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 @@ -2210,9 +2202,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 @@ -2238,9 +2227,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 @@ -2350,15 +2336,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 @@ -2378,11 +2362,9 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- run: COVERAGE_FILE=/root/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 @@ -2402,11 +2384,9 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- run: COVERAGE_FILE=/root/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 @@ -2425,11 +2405,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 @@ -2449,11 +2427,9 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- run: COVERAGE_FILE=/root/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 @@ -2473,11 +2449,9 @@ jobs:
- skip-if-only-github
- skip-if-only-webui
- run: pip install mypy pytest coverage
- install-codecov
- setup-paths
- run: COVERAGE_FILE=/root/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 @@ -2494,14 +2468,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 @@ -2518,15 +2489,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