@@ -48,123 +48,18 @@ jobs:
4848    name: output 
4949    displayName: 'Determine type of code change' 
5050
51- template : azure-pipelines-steps.yml 
52-   parameters :
53-     versions : ['3.6'] 
54-     images : ['ubuntu-18.04'] 
55-     package : ' -e .[all]' 
56-     job :
57-       job : ' Docs' 
58-       displayName : ' Build documentation' 
59-       dependsOn : ' EvalChanges' 
60-       condition : eq(dependencies.EvalChanges.outputs['output.buildDocs'], 'True') 
61-       steps :
62-       - script : ' sudo apt-get -yq install graphviz' 
63-         displayName : ' Install graphviz' 
64- 
65-       - script : ' pip install sklearn-contrib-lightning' 
66-         displayName : ' Install lightning' 
67- 
68-       - script : ' pip install git+https://github.com/slundberg/shap.git@d1d2700acc0259f211934373826d5ff71ad514de' 
69-         displayName : ' Install specific version of shap' 
70- 
71-       - script : ' pip install "sphinx < 3.2" sphinx_rtd_theme' 
72-         displayName : ' Install sphinx' 
73- 
74-       - script : ' python setup.py build_sphinx -W' 
75-         displayName : ' Build documentation' 
76- 
77-       - publish : ' build/sphinx/html' 
78-         artifact : ' Documentation' 
79-         displayName : ' Publish documentation as artifact' 
80- 
81-       - script : ' python setup.py build_sphinx -b doctest' 
82-         displayName : ' Run doctests' 
83- 
8451template : azure-pipelines-steps.yml 
8552  parameters :
8653    versions : ['3.8'] 
8754    images : ['ubuntu-18.04'] 
88-     package : ' -e .[tf]' 
89-     job :
90-       job : ' Notebooks' 
91-       dependsOn : ' EvalChanges' 
92-       condition : eq(dependencies.EvalChanges.outputs['output.buildNbs'], 'True') 
93-       steps :
94-       #  Work around https://github.com/pypa/pip/issues/9542
95-       - script : ' pip install -U numpy' 
96-         displayName : ' Upgrade numpy' 
97- 
98-       - script : ' pip install pytest-runner && python setup.py pytest' 
99-         displayName : ' Unit tests' 
100-         env :
101-           PYTEST_ADDOPTS : ' -m "notebook"' 
102- 
103-       - task : PublishTestResults@2 
104-         displayName : ' Publish Test Results **/test-results.xml' 
105-         inputs :
106-           testResultsFiles : ' **/test-results.xml' 
107-           testRunTitle : ' Notebooks' 
108-         condition : succeededOrFailed() 
109- 
110- #  - job: 'AutoML'
111- #    dependsOn: 'EvalChanges'
112- #    condition: eq(dependencies.EvalChanges.outputs['output.testCode'], 'True')
113- #    variables:
114- #      python.version: '3.6'
115- #    pool:
116- #      vmImage: 'ubuntu-18.04'
117- #    steps:
118- #    - template: azure-pipelines-steps.yml
119- #      parameters:
120- #        body:
121- #          - task: AzureCLI@2
122- #            displayName: 'AutoML tests'
123- #            inputs:
124- #              azureSubscription: 'automl'
125- #              scriptLocation: 'inlineScript'
126- #              scriptType: 'pscore'
127- #              powerShellIgnoreLASTEXITCODE: '' # string for now due to https://github.com/microsoft/azure-pipelines-tasks/issues/12266
128- #              inlineScript: |
129- #                $env:SUBSCRIPTION_ID = az account show --query id -o tsv
130- #                python setup.py pytest
131- #            env:
132- #              WORKSPACE_NAME: 'testWorkspace'
133- #              RESOURCE_GROUP: 'testingAutoMLEconML'
134- #              PYTEST_ADDOPTS: '-m "automl" -n 0'
135- #              COVERAGE_PROCESS_START: 'setup.cfg'
136- 
137- #          - task: PublishTestResults@2
138- #            displayName: 'Publish Test Results **/test-results.xml'
139- #            inputs:
140- #              testResultsFiles: '**/test-results.xml'
141- #              testRunTitle: 'AutoML'
142- #            condition: succeededOrFailed()
143- #        package: '.[automl]'
144- 
145- - template : azure-pipelines-steps.yml 
146-   parameters :
147-     versions : ['3.8'] 
148-     images : ['macOS-10.15'] 
149-     job :
150-       job : ' Linting' 
151-       dependsOn : ' EvalChanges' 
152-       condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True') 
153-       steps :
154-       - script : ' pip install pycodestyle && pycodestyle econml' 
155-         failOnStderr : true 
156-         displayName : Linting 
157- 
158- - template : azure-pipelines-steps.yml 
159-   parameters :
16055    package : ' -e .[tf,plt]' 
16156    job :
16257      job : Tests_no_dml 
16358      dependsOn : ' EvalChanges' 
16459      condition : eq(dependencies.EvalChanges.outputs['output.testCode'], 'True') 
16560      displayName : ' Run tests (non-DML)' 
16661      steps :
167-       - script : ' pip install pytest-runner && python  setup.py pytest' 
62+       - script : ' pip install pytest-runner filprofiler  && fil-profile run  setup.py pytest' 
16863        displayName : ' Unit tests' 
16964        env :
17065          PYTEST_ADDOPTS : ' -m "not (notebook or automl or dml)"' 
@@ -175,12 +70,9 @@ jobs:
17570          testResultsFiles : ' **/test-results.xml' 
17671          testRunTitle : ' Python $(python.version), image $(imageName)' 
17772        condition : succeededOrFailed() 
178- 
179-       - task : PublishCodeCoverageResults@1 
180-         displayName : ' Publish Code Coverage Results' 
181-         inputs :
182-           codeCoverageTool : Cobertura 
183-           summaryFileLocation : ' $(System.DefaultWorkingDirectory)/**/coverage.xml' 
73+       - publish : ' fil-result' 
74+         artifact : ' Profiling' 
75+         displayName : ' Publish profiling results as artifact' 
18476
18577- template : azure-pipelines-steps.yml 
18678  parameters :
0 commit comments