Skip to content
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

chore: Adding QA automation to iOS repo - WPB-15067 #2320

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 6 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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "wire-ios-build-assets"]
path = wire-ios-build-assets
url = [email protected]:wireapp/wire-ios-build-assets.git
[submodule "wire-ios-automation/ios-automation-assets"]
path = wire-ios-automation/ios-automation-assets
url = https://github.com/wireapp/ios-automation-assets
3 changes: 2 additions & 1 deletion .swiftformat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
**AutoMockable**, \
wire-ios-protos/Protos/**, \
wire-ios/Templates/**, \
WireUI/Sources/WireDesign/Icons/Autogenerated/**
WireUI/Sources/WireDesign/Icons/Autogenerated/**, \
wire-ios-automation/**

# RULES - Explicitly enabled to avoid automatic opt in of new rules

Expand Down
1 change: 1 addition & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ excluded:
- wire-ios/Wire-iOS Share Extension/Generated/Strings+Generated.swift
- wire-ios/Wire-iOS/Generated/Assets+Generated.swift
- wire-ios/Wire-iOS/Generated/Strings+Generated.swift
- "wire-ios-automation/**"

# In order to deal with the huge number of violations, first set
# very high limits then iteratively reduce the limits and resolve
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pipeline {
error("Could not find any ipa at provided location!")
} else {
def lastModifiedFileName = files[-1].name
build job: 'iOS_Critical_Flows', parameters: [string(name: 'Track', value: 'S3'), string(name: 'AppBuildNumber', value: "ios/development/simulator/PR/$BRANCH_NAME/${lastModifiedFileName}"), string(name: 'TAGS', value: '@flows'), string(name: 'Branch', value: 'main')]
build job: 'iOS_Critical_Flows', parameters: [string(name: 'Track', value: 'S3'), string(name: 'AppBuildNumber', value: "ios/development/simulator/PR/$BRANCH_NAME/${lastModifiedFileName}"), string(name: 'TAGS', value: '@flows'), string(name: 'Branch', value: 'main'), string(name: 'TESTINY_RUN_NAME', value: "PR $BRANCH_NAME")]
}
}
}
Expand Down
1 change: 1 addition & 0 deletions wire-ios-automation/ios-automation-assets
Submodule ios-automation-assets added at c35660
5 changes: 5 additions & 0 deletions wire-ios-automation/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/target
/bin/
/tests/ios/.idea/
.classpath
.settings
23 changes: 23 additions & 0 deletions wire-ios-automation/ios/.project
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.project files are not needed and should be ignored in gitignore

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>auto-ios</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
Loading
Loading