Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 1 addition & 18 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,4 @@
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
jobs:
- job: func_test_ios1
pool:
vmImage: 'macOS-10.14'
steps:
- template: ./ci-jobs/functional/run_appium.yml
- script: |
cd test/functional/ios
py.test find_*.py remote_fs_tests.py safari_tests.py
displayName: Run functional tests
- job: func_test_ios2
pool:
vmImage: 'macOS-10.14'
steps:
- template: ./ci-jobs/functional/run_appium.yml
- script: |
cd test/functional/ios
py.test applications_tests.py hw_actions_tests.py keyboard_tests.py screen_record_tests.py webdriver_tests.py
displayName: Run functional tests
- template: ./ci-jobs/functional_test.yml
11 changes: 11 additions & 0 deletions ci-jobs/functional/publish_test_result.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
steps:
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFiles: '**/test-*.xml'
testRunTitle: ${{ parameters.title }}
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
reportDirectory: '$(System.DefaultWorkingDirectory)/**/htmlcov'
25 changes: 25 additions & 0 deletions ci-jobs/functional_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
parameters:
vmImage: 'macOS-10.14'
pytestOpt: '--doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html'

jobs:
- job: func_test_ios1
pool:
vmImage: ${{ parameters.vmImage }}
steps:
- template: ./functional/run_appium.yml
- script: |
cd test/functional/ios
py.test find_*.py remote_fs_tests.py safari_tests.py ${{ parameters.pytestOpt }}
displayName: Run functional tests
- template: ./functional/publish_test_result.yml
- job: func_test_ios2
pool:
vmImage: ${{ parameters.vmImage }}
steps:
- template: ./functional/run_appium.yml
- script: |
cd test/functional/ios
py.test applications_tests.py hw_actions_tests.py keyboard_tests.py screen_record_tests.py webdriver_tests.py ${{ parameters.pytestOpt }}
displayName: Run functional tests
- template: ./functional/publish_test_result.yml