-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add azure pipeline to run tests on windows (#169)
* add yml * convert a path to windows style * add appium_lib_session * tweak displayname * add a badge for azure * fix rubocop * update changelog, add a URL for the platform
- Loading branch information
Showing
13 changed files
with
78 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Ruby | ||
# Package your Ruby project. | ||
# Add steps that install rails, analyze code, save build artifacts, deploy, and more: | ||
# https://docs.microsoft.com/azure/devops/pipelines/languages/ruby | ||
pool: | ||
vmImage: 'vs2017-win2016' | ||
|
||
steps: | ||
- task: UseRubyVersion@0 | ||
inputs: | ||
versionSpec: '>= 2.5' | ||
|
||
- script: gem install bundler | ||
displayName: 'Install bundler' | ||
|
||
- script: bundle install --retry=3 --jobs=4 | ||
displayName: 'Call bundle install' | ||
|
||
- script: gem uninstall --force eventmachine && gem install eventmachine --platform ruby | ||
displayName: 'bundle re-install eventmachine for Windows because of Windows environment issue' | ||
|
||
- script: bundle exec parallel_test test/unit/ -n 4 | ||
displayName: 'bundle exec parallel_test test/unit/ -n 4' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module Appium | ||
module Core | ||
class Base | ||
# Return ::Selenium::WebDriver::Platform module methods | ||
# Read https://github.com/SeleniumHQ/selenium/blob/master/rb/lib/selenium/webdriver/common/platform.rb | ||
# | ||
# @return [::Selenium::WebDriver::Platform] | ||
# | ||
# @example | ||
# | ||
# ::Appium::Core::Base.platform.windows? #=> `true` or `false` | ||
# | ||
def self.platform | ||
::Selenium::WebDriver::Platform | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters