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

CircleCI tests integration #20

Merged
merged 11 commits into from
Apr 24, 2020
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# For a detailed guide to building and testing on iOS, read the docs:
# https://circleci.com/docs/2.0/testing-ios/

version: 2.1

jobs:
build:

macos:
xcode: 11.4.0

steps:
- checkout
- run:
name: "Pull Submodules"
command: |
git submodule init
git submodule update --remote
- run:
name: Run tests
command: |
cd ios/PurchasesHybridCommon
pod install
fastlane scan
environment:
SCAN_SCHEME: PurchasesHybridCommonTests
- store_test_results:
path: test_output
- store_artifacts:
path: test_output
destination: scan-output