-
Notifications
You must be signed in to change notification settings - Fork 572
Run iOS functional tests on azure pipelines #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
TODO in the next PR or later
@KazuCocoa @mykola-mokhnach I've checked this PR behavior on forked repository. |
displayName: Run Appium in background | ||
- script: brew install ffmpeg | ||
displayName: Resolve dependencies (Appium server) | ||
- script: python setup.py install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about calling only pipenv
like install CI related dependencies by ci-requirements.txt
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used existing Pipfile
, it's too enough for ci, though.
Pipfile
seems impossible to have another section for CI like package/dev-package.
ci-jobs/functional/run_appium.yml
Outdated
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.x' | ||
- script: appium --relaxed-security & |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move running appium after all check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also run appium server via Python script
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also run appium server via Python script
Let me have another PR for this. I will think about how to use it and it(Appium_service
) doesn't work well when I tried on my local..
jobs: | ||
- job: func_test_ios1 | ||
pool: | ||
vmImage: 'macOS-10.14' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(notice) I'd like to have parameters
section, but can't have it in azure-pipelines.yml
.
[ref]
https://github.com/appium/ruby_lib_core/blob/master/ci-jobs/functional_test.yml
I've set up azure pipelines for https://github.com/appium/python-client . |
For #377