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

Use GitHub Actions instead of Travis #23

Open
2 tasks
roger-tan opened this issue Aug 5, 2020 · 0 comments
Open
2 tasks

Use GitHub Actions instead of Travis #23

roger-tan opened this issue Aug 5, 2020 · 0 comments

Comments

@roger-tan
Copy link

roger-tan commented Aug 5, 2020

In order to update to GitHub Actions.

name: TABObserverSet CI

 on:
   workflow_dispatch: # This allows you to manually run the workflow from GitHub's web UI
   pull_request:
     branches: [ '*' ] # This means this workflow will run when any PR is created or any changes are pushed to a PR, on any branch

 jobs:
   test_xcode11_ios13:
     name: Run tests on Xcode 11 and iOS 13
     runs-on: macOS-latest

     steps:
       - name: Checkout
         uses: actions/checkout@v1
       - name: Set Xcode version to 11.6
         run: sudo xcode-select -switch /Applications/Xcode_11.6.app
       - name: Build for testing
         run:  xcodebuild  build-for-testing -workspace Example/TABObserverSet.xcworkspace -scheme TABObserverSet-Example -configuration Debug -sdk iphonesimulator13.6 -destination "OS=13.6,name=iPhone 11 Pro"
       - name: Test on iPhone 11 Pro
         run:  xcodebuild test-without-building -workspace Example/TABObserverSet.xcworkspace -scheme TABObserverSet-Example -configuration Debug -sdk iphonesimulator13.6 -destination "OS=13.6,name=iPhone 11 Pro" -enableCodeCoverage YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant