|
1 | 1 | parameters: |
2 | | - vmImage: 'macOS-10.14' |
3 | | - pytestOpt: '--doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html' |
| 2 | + vmImage: 'macOS-10.14' |
| 3 | + pytestOpt: '--doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html' |
4 | 4 |
|
5 | 5 | jobs: |
6 | | - - job: func_test_ios1 |
7 | | - pool: |
| 6 | + - template: ./functional/run_ios_test.yml |
| 7 | + parameters: |
| 8 | + name: 'func_test_ios1' |
8 | 9 | vmImage: ${{ parameters.vmImage }} |
9 | | - steps: |
10 | | - - template: ./functional/run_appium.yml |
11 | | - - script: | |
12 | | - cd test/functional/ios |
13 | | - py.test find_*.py remote_fs_tests.py safari_tests.py ${{ parameters.pytestOpt }} |
14 | | - displayName: Run functional tests |
15 | | - - template: ./functional/publish_test_result.yml |
16 | | - - job: func_test_ios2 |
17 | | - pool: |
| 10 | + pytestOpt: ${{ parameters.pytestOpt }} |
| 11 | + testFiles: 'find_*.py remote_fs_tests.py safari_tests.py' |
| 12 | + - template: ./functional/run_ios_test.yml |
| 13 | + parameters: |
| 14 | + name: 'func_test_ios2' |
18 | 15 | vmImage: ${{ parameters.vmImage }} |
19 | | - steps: |
20 | | - - template: ./functional/run_appium.yml |
21 | | - - script: | |
22 | | - cd test/functional/ios |
23 | | - py.test applications_tests.py hw_actions_tests.py keyboard_tests.py screen_record_tests.py webdriver_tests.py ${{ parameters.pytestOpt }} |
24 | | - displayName: Run functional tests |
25 | | - - template: ./functional/publish_test_result.yml |
| 16 | + pytestOpt: ${{ parameters.pytestOpt }} |
| 17 | + testFiles: 'applications_tests.py hw_actions_tests.py keyboard_tests.py screen_record_tests.py webdriver_tests.py' |
| 18 | + - template: ./functional/run_android_test.yml |
| 19 | + parameters: |
| 20 | + name: 'func_test_android1' |
| 21 | + vmImage: ${{ parameters.vmImage }} |
| 22 | + pytestOpt: ${{ parameters.pytestOpt }} |
| 23 | + testFiles: 'location_tests.py' |
| 24 | + sdkVer: 28 |
| 25 | + - template: ./functional/run_android_test.yml |
| 26 | + parameters: |
| 27 | + name: 'func_test_android2' |
| 28 | + vmImage: ${{ parameters.vmImage }} |
| 29 | + pytestOpt: ${{ parameters.pytestOpt }} |
| 30 | + testFiles: 'remote_fs_tests.py' |
| 31 | + sdkVer: 28 |
0 commit comments