代码拉取完成,页面将自动刷新
parameters:
- name: py3_versions
type: object
default:
- "3.6"
- "3.7"
- name: py3_env_suffixes
type: object
default:
- api_tests
- cli_tests
- core_tests
- general_tests
- daemon_tests
- scheduler_tests
jobs:
- job: "dagster"
pool:
vmImage: "vs2017-win2016"
strategy:
matrix:
${{ each py_version in parameters.py3_versions }}:
${{ each env_suffix in parameters.py3_env_suffixes }}:
${{ replace(py_version, '.', '') }}-windows-${{ env_suffix }}:
TOXENV: "py${{ replace(py_version, '.', '') }}-windows-${{ env_suffix }}"
python.version: "${{ py_version }}"
variables:
PYTHONLEGACYWINDOWSSTDIO: "1"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "$(python.version)"
architecture: "x64"
- script: choco install vcpython27 --yes
condition: eq(variables['python.version'], '2.7')
displayName: "Install vcpython27"
- script: pip install tox
displayName: "Install tox"
- script: cd python_modules\dagster && tox -e %TOXENV% && cd ..\..
displayName: "Run tests"
- task: PublishTestResults@2
inputs:
testResultsFiles: "**/test_results.xml"
testRunTitle: "dagster $(TOXENV)"
condition: succeededOrFailed()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。