Unverified Commit 53e5074c authored by moto's avatar moto Committed by GitHub
Browse files

Run GPU test on nightly (#678)

parent 8a03087e
...@@ -651,7 +651,9 @@ workflows: ...@@ -651,7 +651,9 @@ workflows:
- unittest_linux_gpu: - unittest_linux_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_linux_gpu_py3.6 name: unittest_linux_gpu_py3.6
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -659,7 +661,9 @@ workflows: ...@@ -659,7 +661,9 @@ workflows:
- unittest_linux_gpu: - unittest_linux_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_linux_gpu_py3.7 name: unittest_linux_gpu_py3.7
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -667,7 +671,9 @@ workflows: ...@@ -667,7 +671,9 @@ workflows:
- unittest_linux_gpu: - unittest_linux_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_linux_gpu_py3.8 name: unittest_linux_gpu_py3.8
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -684,19 +690,25 @@ workflows: ...@@ -684,19 +690,25 @@ workflows:
- unittest_windows_gpu: - unittest_windows_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_windows_gpu_py3.6 name: unittest_windows_gpu_py3.6
python_version: '3.6' python_version: '3.6'
- unittest_windows_gpu: - unittest_windows_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_windows_gpu_py3.7 name: unittest_windows_gpu_py3.7
python_version: '3.7' python_version: '3.7'
- unittest_windows_gpu: - unittest_windows_gpu:
filters: filters:
branches: branches:
only: master only:
- master
- nightly
name: unittest_windows_gpu_py3.8 name: unittest_windows_gpu_py3.8
python_version: '3.8' python_version: '3.8'
nightly: nightly:
...@@ -708,12 +720,14 @@ workflows: ...@@ -708,12 +720,14 @@ workflows:
- download_third_parties_nix: - download_third_parties_nix:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: download_third_parties_nix name: download_third_parties_nix
- binary_linux_wheel: - binary_linux_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.6 name: nightly_binary_linux_wheel_py3.6
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -722,14 +736,16 @@ workflows: ...@@ -722,14 +736,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.6_upload name: nightly_binary_linux_wheel_py3.6_upload
requires: requires:
- nightly_binary_linux_wheel_py3.6 - nightly_binary_linux_wheel_py3.6
- smoke_test_linux_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.6_smoke_test_pip name: nightly_binary_linux_wheel_py3.6_smoke_test_pip
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -737,7 +753,8 @@ workflows: ...@@ -737,7 +753,8 @@ workflows:
- binary_linux_wheel: - binary_linux_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.7 name: nightly_binary_linux_wheel_py3.7
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -746,14 +763,16 @@ workflows: ...@@ -746,14 +763,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.7_upload name: nightly_binary_linux_wheel_py3.7_upload
requires: requires:
- nightly_binary_linux_wheel_py3.7 - nightly_binary_linux_wheel_py3.7
- smoke_test_linux_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.7_smoke_test_pip name: nightly_binary_linux_wheel_py3.7_smoke_test_pip
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -761,7 +780,8 @@ workflows: ...@@ -761,7 +780,8 @@ workflows:
- binary_linux_wheel: - binary_linux_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.8 name: nightly_binary_linux_wheel_py3.8
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -770,14 +790,16 @@ workflows: ...@@ -770,14 +790,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.8_upload name: nightly_binary_linux_wheel_py3.8_upload
requires: requires:
- nightly_binary_linux_wheel_py3.8 - nightly_binary_linux_wheel_py3.8
- smoke_test_linux_pip: - smoke_test_linux_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_wheel_py3.8_smoke_test_pip name: nightly_binary_linux_wheel_py3.8_smoke_test_pip
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -785,7 +807,8 @@ workflows: ...@@ -785,7 +807,8 @@ workflows:
- binary_macos_wheel: - binary_macos_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.6 name: nightly_binary_macos_wheel_py3.6
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -794,14 +817,16 @@ workflows: ...@@ -794,14 +817,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.6_upload name: nightly_binary_macos_wheel_py3.6_upload
requires: requires:
- nightly_binary_macos_wheel_py3.6 - nightly_binary_macos_wheel_py3.6
- binary_macos_wheel: - binary_macos_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.7 name: nightly_binary_macos_wheel_py3.7
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -810,14 +835,16 @@ workflows: ...@@ -810,14 +835,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.7_upload name: nightly_binary_macos_wheel_py3.7_upload
requires: requires:
- nightly_binary_macos_wheel_py3.7 - nightly_binary_macos_wheel_py3.7
- binary_macos_wheel: - binary_macos_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.8 name: nightly_binary_macos_wheel_py3.8
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -826,28 +853,32 @@ workflows: ...@@ -826,28 +853,32 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_wheel_py3.8_upload name: nightly_binary_macos_wheel_py3.8_upload
requires: requires:
- nightly_binary_macos_wheel_py3.8 - nightly_binary_macos_wheel_py3.8
- binary_windows_wheel: - binary_windows_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.6 name: nightly_binary_windows_wheel_py3.6
python_version: '3.6' python_version: '3.6'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.6_upload name: nightly_binary_windows_wheel_py3.6_upload
requires: requires:
- nightly_binary_windows_wheel_py3.6 - nightly_binary_windows_wheel_py3.6
- smoke_test_windows_pip: - smoke_test_windows_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.6_smoke_test_pip name: nightly_binary_windows_wheel_py3.6_smoke_test_pip
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -855,21 +886,24 @@ workflows: ...@@ -855,21 +886,24 @@ workflows:
- binary_windows_wheel: - binary_windows_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.7 name: nightly_binary_windows_wheel_py3.7
python_version: '3.7' python_version: '3.7'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.7_upload name: nightly_binary_windows_wheel_py3.7_upload
requires: requires:
- nightly_binary_windows_wheel_py3.7 - nightly_binary_windows_wheel_py3.7
- smoke_test_windows_pip: - smoke_test_windows_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.7_smoke_test_pip name: nightly_binary_windows_wheel_py3.7_smoke_test_pip
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -877,21 +911,24 @@ workflows: ...@@ -877,21 +911,24 @@ workflows:
- binary_windows_wheel: - binary_windows_wheel:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.8 name: nightly_binary_windows_wheel_py3.8
python_version: '3.8' python_version: '3.8'
- binary_wheel_upload: - binary_wheel_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.8_upload name: nightly_binary_windows_wheel_py3.8_upload
requires: requires:
- nightly_binary_windows_wheel_py3.8 - nightly_binary_windows_wheel_py3.8
- smoke_test_windows_pip: - smoke_test_windows_pip:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_wheel_py3.8_smoke_test_pip name: nightly_binary_windows_wheel_py3.8_smoke_test_pip
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -899,7 +936,8 @@ workflows: ...@@ -899,7 +936,8 @@ workflows:
- binary_linux_conda: - binary_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.6 name: nightly_binary_linux_conda_py3.6
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -908,14 +946,16 @@ workflows: ...@@ -908,14 +946,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.6_upload name: nightly_binary_linux_conda_py3.6_upload
requires: requires:
- nightly_binary_linux_conda_py3.6 - nightly_binary_linux_conda_py3.6
- smoke_test_linux_conda: - smoke_test_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.6_smoke_test_conda name: nightly_binary_linux_conda_py3.6_smoke_test_conda
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -923,7 +963,8 @@ workflows: ...@@ -923,7 +963,8 @@ workflows:
- binary_linux_conda: - binary_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.7 name: nightly_binary_linux_conda_py3.7
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -932,14 +973,16 @@ workflows: ...@@ -932,14 +973,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.7_upload name: nightly_binary_linux_conda_py3.7_upload
requires: requires:
- nightly_binary_linux_conda_py3.7 - nightly_binary_linux_conda_py3.7
- smoke_test_linux_conda: - smoke_test_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.7_smoke_test_conda name: nightly_binary_linux_conda_py3.7_smoke_test_conda
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -947,7 +990,8 @@ workflows: ...@@ -947,7 +990,8 @@ workflows:
- binary_linux_conda: - binary_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.8 name: nightly_binary_linux_conda_py3.8
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -956,14 +1000,16 @@ workflows: ...@@ -956,14 +1000,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.8_upload name: nightly_binary_linux_conda_py3.8_upload
requires: requires:
- nightly_binary_linux_conda_py3.8 - nightly_binary_linux_conda_py3.8
- smoke_test_linux_conda: - smoke_test_linux_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_linux_conda_py3.8_smoke_test_conda name: nightly_binary_linux_conda_py3.8_smoke_test_conda
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -971,7 +1017,8 @@ workflows: ...@@ -971,7 +1017,8 @@ workflows:
- binary_macos_conda: - binary_macos_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.6 name: nightly_binary_macos_conda_py3.6
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -980,14 +1027,16 @@ workflows: ...@@ -980,14 +1027,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.6_upload name: nightly_binary_macos_conda_py3.6_upload
requires: requires:
- nightly_binary_macos_conda_py3.6 - nightly_binary_macos_conda_py3.6
- binary_macos_conda: - binary_macos_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.7 name: nightly_binary_macos_conda_py3.7
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -996,14 +1045,16 @@ workflows: ...@@ -996,14 +1045,16 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.7_upload name: nightly_binary_macos_conda_py3.7_upload
requires: requires:
- nightly_binary_macos_conda_py3.7 - nightly_binary_macos_conda_py3.7
- binary_macos_conda: - binary_macos_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.8 name: nightly_binary_macos_conda_py3.8
python_version: '3.8' python_version: '3.8'
requires: requires:
...@@ -1012,28 +1063,32 @@ workflows: ...@@ -1012,28 +1063,32 @@ workflows:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_macos_conda_py3.8_upload name: nightly_binary_macos_conda_py3.8_upload
requires: requires:
- nightly_binary_macos_conda_py3.8 - nightly_binary_macos_conda_py3.8
- binary_windows_conda: - binary_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.6 name: nightly_binary_windows_conda_py3.6
python_version: '3.6' python_version: '3.6'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.6_upload name: nightly_binary_windows_conda_py3.6_upload
requires: requires:
- nightly_binary_windows_conda_py3.6 - nightly_binary_windows_conda_py3.6
- smoke_test_windows_conda: - smoke_test_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.6_smoke_test_conda name: nightly_binary_windows_conda_py3.6_smoke_test_conda
python_version: '3.6' python_version: '3.6'
requires: requires:
...@@ -1041,21 +1096,24 @@ workflows: ...@@ -1041,21 +1096,24 @@ workflows:
- binary_windows_conda: - binary_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.7 name: nightly_binary_windows_conda_py3.7
python_version: '3.7' python_version: '3.7'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.7_upload name: nightly_binary_windows_conda_py3.7_upload
requires: requires:
- nightly_binary_windows_conda_py3.7 - nightly_binary_windows_conda_py3.7
- smoke_test_windows_conda: - smoke_test_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.7_smoke_test_conda name: nightly_binary_windows_conda_py3.7_smoke_test_conda
python_version: '3.7' python_version: '3.7'
requires: requires:
...@@ -1063,21 +1121,24 @@ workflows: ...@@ -1063,21 +1121,24 @@ workflows:
- binary_windows_conda: - binary_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.8 name: nightly_binary_windows_conda_py3.8
python_version: '3.8' python_version: '3.8'
- binary_conda_upload: - binary_conda_upload:
context: org-member context: org-member
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.8_upload name: nightly_binary_windows_conda_py3.8_upload
requires: requires:
- nightly_binary_windows_conda_py3.8 - nightly_binary_windows_conda_py3.8
- smoke_test_windows_conda: - smoke_test_windows_conda:
filters: filters:
branches: branches:
only: nightly only:
- nightly
name: nightly_binary_windows_conda_py3.8_smoke_test_conda name: nightly_binary_windows_conda_py3.8_smoke_test_conda
python_version: '3.8' python_version: '3.8'
requires: requires:
......
...@@ -84,8 +84,8 @@ def generate_base_workflow(base_workflow_name, python_version, filter_branch, os ...@@ -84,8 +84,8 @@ def generate_base_workflow(base_workflow_name, python_version, filter_branch, os
return {"binary_{os_type}_{btype}".format(os_type=os_type, btype=btype): d} return {"binary_{os_type}_{btype}".format(os_type=os_type, btype=btype): d}
def gen_filter_branch_tree(branch_name): def gen_filter_branch_tree(*branches):
return {"branches": {"only": branch_name}} return {"branches": {"only": [ b for b in branches]}}
def generate_upload_workflow(base_workflow_name, filter_branch, btype): def generate_upload_workflow(base_workflow_name, filter_branch, btype):
...@@ -136,7 +136,7 @@ def unittest_workflows(indentation=6): ...@@ -136,7 +136,7 @@ def unittest_workflows(indentation=6):
} }
if device_type == 'gpu': if device_type == 'gpu':
job['filters'] = gen_filter_branch_tree('master') job['filters'] = gen_filter_branch_tree('master', 'nightly')
if os_type != "windows": if os_type != "windows":
job['requires'] = ['download_third_parties_nix'] job['requires'] = ['download_third_parties_nix']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment