Skip to content

Commit

Permalink
Add final cov stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianjie Liu (MAIDAP) committed Jan 28, 2021
1 parent b534f47 commit 67c12a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
17 changes: 12 additions & 5 deletions devops/pr-gate-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,33 @@ stages:
parameters:
pyVersion: '3.6'

- stage: run_full_test_matrix
- stage: run_unit_test_matrix
dependsOn: static_analysis
jobs:
- template: templates/run-tests-on-multiple-os-py.yml
parameters:
pyVersions: ['3.6', '3.7', '3.8']
pyVersions: ['3.6']
testTypes: ['unit', 'io']
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest'


- stage: run_e2e_test_matrix
dependsOn: static_analysis
jobs:
- template: templates/run-tests-on-multiple-os-py.yml
parameters:
pyVersions: ['3.6']
testTypes: ['slow', 'azure']
testTypes: ['slow']
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest'


- stage: collect_final_code_coverage
dependsOn:
- run_unit_test_matrix
- run_e2e_test_matrix
jobs:
- job:
steps:
- template: templates/publish-cov.yml



# strategy:
Expand Down
1 change: 0 additions & 1 deletion devops/templates/publish-cov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Template for publishing code coverage report

steps:
- task: PublishCodeCoverageResults@1
inputs:
Expand Down
1 change: 0 additions & 1 deletion devops/templates/publish-test-results.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Template for publishing test result report

parameters:
- name: pyVersion
type: string
Expand Down

0 comments on commit 67c12a3

Please sign in to comment.