Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit c848bf6

Browse files
committed
fix
1 parent b8fe0eb commit c848bf6

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

azure-pipelines/build-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,19 @@ jobs:
5454
pytest_mark: after_training_single_run
5555
test_run_title: tests_after_training_single_run
5656

57-
- job: RunGpuTestsInAzureML
57+
- job: RunAllTestsInAzureML
5858
dependsOn: CancelPreviousJobs
5959
variables:
6060
- name: tag
61-
value: 'RunGpuTests'
61+
value: 'RunAllTests'
6262
pool:
6363
vmImage: 'ubuntu-18.04'
6464
steps:
6565
- template: train_template.yml
6666
parameters:
6767
wait_for_completion: 'True'
68-
pytest_mark: 'gpu or cpu_and_gpu or azureml'
69-
max_run_duration: '30m'
68+
pytest_mark: 'not (after_training_single_run or after_training_ensemble_run or inference or after_training_2node or after_training_glaucoma_cv_run or after_training_hello_container)'
69+
max_run_duration: '40m'
7070
- task: PublishTestResults@2
7171
inputs:
7272
testResultsFiles: '**/test-*.xml'

azure-pipelines/build.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ steps:
3030
condition: succeededOrFailed()
3131
displayName: Install InnerEye (Dev) Package
3232
33-
# First run all tests that require the InnerEye package. All code should be consumed via the InnerEye package,
34-
# hence don't set PYTHONPATH to InnerEye - but do set it to hi-ml if that has been included as a submodule for dev
35-
# work on the package
36-
- bash: |
37-
source activate InnerEye
38-
pytest ./Tests/ -m "not (gpu or azureml or after_training_single_run or after_training_ensemble_run or inference or after_training_2node or after_training_glaucoma_cv_run or after_training_hello_container)" --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-config=.coveragerc --cov-report=xml --verbose
39-
env:
40-
APPLICATION_KEY: $(InnerEyeDeepLearningServicePrincipalKey)
41-
DATASETS_ACCOUNT_KEY: $(InnerEyePublicDatasetsStorageKey)
42-
failOnStderr: false
43-
condition: succeededOrFailed()
44-
displayName: Run pytests on InnerEye package
33+
# # First run all tests that require the InnerEye package. All code should be consumed via the InnerEye package,
34+
# # hence don't set PYTHONPATH to InnerEye - but do set it to hi-ml if that has been included as a submodule for dev
35+
# # work on the package
36+
# - bash: |
37+
# source activate InnerEye
38+
# pytest ./Tests/ -m "not (gpu or azureml or after_training_single_run or after_training_ensemble_run or inference or after_training_2node or after_training_glaucoma_cv_run or after_training_hello_container)" --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-config=.coveragerc --cov-report=xml --verbose
39+
# env:
40+
# APPLICATION_KEY: $(InnerEyeDeepLearningServicePrincipalKey)
41+
# DATASETS_ACCOUNT_KEY: $(InnerEyePublicDatasetsStorageKey)
42+
# failOnStderr: false
43+
# condition: succeededOrFailed()
44+
# displayName: Run pytests on InnerEye package
4545

4646
# Run all tests for code that does not live in the InnerEye package. For that, set PYTHONPATH
4747
- bash: |

0 commit comments

Comments
 (0)