Skip to content

Instantly share code, notes, and snippets.

@elenipapanik
Last active September 10, 2020 10:54
Show Gist options
  • Save elenipapanik/1d9a0354f348373ca49b4060c8ec8a1b to your computer and use it in GitHub Desktop.
Save elenipapanik/1d9a0354f348373ca49b4060c8ec8a1b to your computer and use it in GitHub Desktop.
lane :test do |options|
configuration = options[:configuration]
scan(
clean: true,
devices: ["iPhone X"],
workspace: "our_project.xcworkspace",
scheme: configuration,
code_coverage: true,
output_directory: "./test_output",
output_types: "html,junit"
)
slather(
cobertura_xml: true,
proj: "our_project.xcodeproj",
workspace: "our_project.xcworkspace",
output_directory: "./test_output",
scheme: configuration,
jenkins: true,
ignore: [array_of_docs_to_ignore]
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment