re-enable macOS
@@ -67,46 +67,46 @@ jobs:
testRunTitle: '$(test_title)'
condition: succeededOrFailed()
- # - job: Conda
-
- # strategy:
- # matrix:
- # mac-py37:
- # image_name: macos-10.13
- # test_title: macOS py37
- # toxenv: py37
- # python: 3.7
+ - job: Conda
- # pool:
- # vmImage: $(image_name)
+ strategy:
+ matrix:
+ mac-py37:
+ image_name: macos-10.13
+ test_title: macOS py37
+ toxenv: py37
+ python: 3.7
- # steps:
- # - task: CondaEnvironment@1
- # inputs:
- # createCustomEnvironment: true
- # environmentName: pymedphys
- # packageSpecs: python=$(python) pip "xlwings >= 0.15.4" pymssql matplotlib
- # updateConda: true
- # createOptions: --channel conda-forge
+ pool:
+ vmImage: $(image_name)
- # - bash: "python -c \"import sys; print(sys.version); print(sys.executable)\""
- # displayName: Show python information
+ steps:
+ - task: CondaEnvironment@1
+ inputs:
+ createCustomEnvironment: true
+ environmentName: pymedphys
+ packageSpecs: python=$(python) pip "xlwings >= 0.15.4" pymssql matplotlib
+ updateConda: true
+ createOptions: --channel conda-forge
- # - bash: yarn
- # displayName: Run yarn
+ - bash: "python -c \"import sys; print(sys.version); print(sys.executable)\""
+ displayName: Show python information
- # - bash: yarn install:test
- # displayName: Install dependencies for testing with yarn
+ - bash: yarn
+ displayName: Run yarn
- # - bash: "pytest -v"
- # displayName: Run tests
+ - bash: yarn install:test
+ displayName: Install dependencies for testing with yarn
- # - task: PublishTestResults@2
- # displayName: Publish test results
- # inputs:
- # testResultsFiles: junit/*.xml
- # testRunTitle: '$(test_title)'
- # condition: succeededOrFailed()
+ - bash: "pytest -v"
+ displayName: Run tests
+
+ - task: PublishTestResults@2
+ displayName: Publish test results
+ inputs:
+ testResultsFiles: junit/*.xml
+ testRunTitle: '$(test_title)'
+ condition: succeededOrFailed()
- job: NotebookOutputs
