Skip to content

Commit

Permalink
disable Windows CPU unittests on CircleCI (#7526)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Apr 18, 2023
1 parent b78d98b commit 5579995
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 89 deletions.
50 changes: 0 additions & 50 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 0 additions & 38 deletions .circleci/config.yml.in
Original file line number Diff line number Diff line change
Expand Up @@ -433,44 +433,6 @@ jobs:
docker push ${image_name}:${CIRCLE_WORKFLOW_ID}
docker push ${image_name}:latest

unittest_windows_cpu:
<<: *binary_common
executor:
name: windows-cpu
steps:
- checkout
- designate_upload_channel
- run:
name: Generate cache key
# This will refresh cache on Sundays, nightly build should generate new cache.
command: echo "$(date +"%Y-%U")" > .circleci-weekly
- restore_cache:
{% raw %}
keys:
- env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
- run:
name: Setup
command: .circleci/unittest/windows/scripts/setup_env.sh
- save_cache:
{% raw %}
key: env-v2-windows-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/windows/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
{% endraw %}
paths:
- conda
- env
- run:
name: Install torchvision
command: .circleci/unittest/windows/scripts/install.sh
- run:
name: Run tests
command: .circleci/unittest/windows/scripts/run_test.sh
- run:
name: Post process
command: .circleci/unittest/windows/scripts/post_process.sh
- store_test_results:
path: test-results

unittest_windows_gpu:
<<: *binary_common
executor:
Expand Down
2 changes: 1 addition & 1 deletion .circleci/regenerate.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def indent(indentation, data_list):
def unittest_workflows(indentation=6):
jobs = []
for os_type in ["windows"]:
for device_type in ["cpu", "gpu"]:
for device_type in ["gpu"]:
if os_type == "macos" and device_type == "gpu":
continue

Expand Down

0 comments on commit 5579995

Please sign in to comment.