update fastlane to use Scanfile (#29963)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/29963

### Summary

To run unit tests via Fastlane, simply run `fastlane scan`. Under the hood, it uses `xcodebuild` to run the unit tests. The Scanfile serves as a config file for Fastlane where you can specify parameters you want to pass to `xcodebuild`. More about Scan - https://docs.fastlane.tools/actions/scan/

### Test Plan

- `fastlane scan` is able to run on CI machines.

Test Plan: Imported from OSS

Differential Revision: D18606098

Pulled By: xta0

fbshipit-source-id: b4727d964fa56076b2ff383b40d1b13607721394
This commit is contained in:
Tao Xu 2019-11-19 16:29:53 -08:00 committed by Facebook Github Bot
parent 99c59d73a7
commit 5fa941d4e2
2 changed files with 4 additions and 0 deletions

View file

@ -157,3 +157,4 @@ DEPENDENCIES
BUNDLED WITH
2.0.2

View file

@ -0,0 +1,3 @@
scheme("TestAppTests")
open_report(false)
clean(true)