attempt win pipeline
@@ -23,11 +23,11 @@ jobs:
test_title: Linux Py37
toxenv: py37
python: 3.7
- # Dependency-Tree:
- # image_name: ubuntu-16.04
- # test_title: Dependency Tree
- # toxenv: tree
- # python: 3.7
+ Dependency-Tree:
+ image_name: ubuntu-16.04
+ test_title: Dependency Tree
+ toxenv: tree
+ python: 3.7
pool:
vmImage: $(image_name)
@@ -71,9 +71,14 @@ jobs:
strategy:
matrix:
- mac-py37:
+ MacOS-Py37:
image_name: macos-10.13
- test_title: macOS py37
+ test_title: MacOS py37
+ toxenv: py37
+ python: 3.7
+ Windows-Py37:
+ image_name: vs2017-win2016
+ test_title: Windows Py37
toxenv: py37
python: 3.7
@@ -85,13 +90,17 @@ jobs:
inputs:
createCustomEnvironment: true
environmentName: pymedphys
- packageSpecs: python=$(python) pip "xlwings >= 0.15.4" pymssql matplotlib
+ packageSpecs: python=$(python) pip "xlwings >= 0.15.4"
updateConda: true
createOptions: --channel conda-forge
- bash: "python -c \"import sys; print(sys.version); print(sys.executable)\""
displayName: Show python information
+ - bash: conda install -y matplotlib pymssql
+ displayName: Install matplotlib and pymssql with conda on MacOS
+ condition: eq( variables['Agent.OS'], 'Darwin' )
+
- bash: yarn
displayName: Run yarn
@@ -151,9 +160,6 @@ jobs:
- bash: yarn tree
displayName: Build and graph dependency trees
- # - bash: git add -A && git diff HEAD --name-only --exit-code -- "*.dot"
- # displayName: Test if any dot files unchanged
-
- bash: git add -A && git diff HEAD --name-only --exit-code -- "*.py"
displayName: Test if any python files were changed
