@@ -74,46 +74,46 @@ jobs:
7474 displayName: 'Get legacy checkpoints'
7575
7676 - bash : |
77- python -m coverage run --source pytorch_lightning -m pytest pytorch_lightning tests -v --junitxml=$(Build.StagingDirectory)/test-results.xml --durations=50
77+ pytest tests/accelerators/test_ddp.py::test_ddp_torch_dist_is_available_in_setup tests/models/test_hooks.py::test_ci_bug -v
7878 displayName: 'Testing: standard'
7979
80- - bash : |
81- bash tests/special_tests.sh
82- displayName: 'Testing: special'
83-
84- - bash : |
85- python -m coverage report
86- python -m coverage xml
87- python -m coverage html
88- python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) --flags=gpu,pytest --name="GPU-coverage" --env=linux,azure
89- ls -l
90- displayName: 'Statistics'
91-
92- - task : PublishTestResults@2
93- displayName : ' Publish test results'
94- inputs :
95- testResultsFiles : ' $(Build.StagingDirectory)/test-results.xml'
96- testRunTitle : ' $(Agent.OS) - $(Build.DefinitionName) - Python $(python.version)'
97- condition : succeededOrFailed()
98-
99- - task : PublishCodeCoverageResults@1
100- displayName : ' Publish coverage report'
101- inputs :
102- codeCoverageTool : ' cobertura'
103- summaryFileLocation : ' coverage.xml'
104- reportDirectory : ' $(Build.SourcesDirectory)/htmlcov'
105- testRunTitle : ' $(Agent.OS) - $(Build.BuildNumber)[$(Agent.JobName)] - Python $(python.version)'
106- condition : succeededOrFailed()
107-
108- - bash : |
109- python -m pytest benchmarks -v --maxfail=2 --durations=0
110- displayName: 'Testing: benchmarks'
111-
112- - script : |
113- set -e
114- python -m pytest pl_examples -v --maxfail=2 --durations=0
115- bash pl_examples/run_examples-args.sh --trainer.gpus 1 --trainer.max_epochs 1 --data.batch_size 64 --trainer.limit_train_batches 5 --trainer.limit_val_batches 3
116- bash pl_examples/run_ddp-examples.sh --trainer.max_epochs 1 --data.batch_size 32 --trainer.limit_train_batches 2 --trainer.limit_val_batches 2
117- env:
118- PL_USE_MOCKED_MNIST: "1"
119- displayName: 'Examples'
80+ # - bash: |
81+ # bash tests/special_tests.sh
82+ # displayName: 'Testing: special'
83+ #
84+ # - bash: |
85+ # python -m coverage report
86+ # python -m coverage xml
87+ # python -m coverage html
88+ # python -m codecov --token=$(CODECOV_TOKEN) --commit=$(Build.SourceVersion) --flags=gpu,pytest --name="GPU-coverage" --env=linux,azure
89+ # ls -l
90+ # displayName: 'Statistics'
91+ #
92+ # - task: PublishTestResults@2
93+ # displayName: 'Publish test results'
94+ # inputs:
95+ # testResultsFiles: '$(Build.StagingDirectory)/test-results.xml'
96+ # testRunTitle: '$(Agent.OS) - $(Build.DefinitionName) - Python $(python.version)'
97+ # condition: succeededOrFailed()
98+ #
99+ # - task: PublishCodeCoverageResults@1
100+ # displayName: 'Publish coverage report'
101+ # inputs:
102+ # codeCoverageTool: 'cobertura'
103+ # summaryFileLocation: 'coverage.xml'
104+ # reportDirectory: '$(Build.SourcesDirectory)/htmlcov'
105+ # testRunTitle: '$(Agent.OS) - $(Build.BuildNumber)[$(Agent.JobName)] - Python $(python.version)'
106+ # condition: succeededOrFailed()
107+ #
108+ # - bash: |
109+ # python -m pytest benchmarks -v --maxfail=2 --durations=0
110+ # displayName: 'Testing: benchmarks'
111+ #
112+ # - script: |
113+ # set -e
114+ # python -m pytest pl_examples -v --maxfail=2 --durations=0
115+ # bash pl_examples/run_examples-args.sh --trainer.gpus 1 --trainer.max_epochs 1 --data.batch_size 64 --trainer.limit_train_batches 5 --trainer.limit_val_batches 3
116+ # bash pl_examples/run_ddp-examples.sh --trainer.max_epochs 1 --data.batch_size 32 --trainer.limit_train_batches 2 --trainer.limit_val_batches 2
117+ # env:
118+ # PL_USE_MOCKED_MNIST: "1"
119+ # displayName: 'Examples'
0 commit comments