Skip to content

Commit

Permalink
Runn all e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianjie Liu (MAIDAP) committed Feb 2, 2021
1 parent 2942d34 commit 7f989c7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
8 changes: 4 additions & 4 deletions devops/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ stages:
parameters:
pyVersions: ['3.6', '3.7', '3.8']
testTypes: ['unit', 'io']
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest'
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest' are not supported

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

- stage: collect_final_code_coverage
dependsOn:
Expand Down
6 changes: 3 additions & 3 deletions devops/pr-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ stages:
parameters:
pyVersions: ['3.6', '3.7', '3.8']
testTypes: ['unit', 'io']
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest'
imageOSs: ['ubuntu-18.04'] # 'windows-latest', 'macos-latest' are not supported

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

- stage: collect_final_code_coverage
dependsOn:
Expand Down
3 changes: 3 additions & 0 deletions devops/templates/base/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ steps:
elif [[ '${{parameters.testType}}' == 'unit' ]]
then
tox -e py -- tests/unit
elif [[ '${{parameters.testType}}' == 'e2e' ]]
then
tox -e py -- tests/e2e
else
tox -e py -- -m "${{parameters.testType}}"
fi
Expand Down

0 comments on commit 7f989c7

Please sign in to comment.