CircleCi to Github actions migration #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "iOS SDK CI" | |
on: | |
pull_request: | |
jobs: | |
setup: | |
name: "Setup" | |
runs-on: macos-14 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install ruby and gem dependencies | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.5 | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
sdk-tests: | |
name: "SDK Tests" | |
runs-on: macos-14 | |
needs: [setup] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Bundle install | |
run: bundle install | |
- name: Run Fastlane | |
run: bundle exec fastlane tests | |
- name: Store Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
path: ./fastlane/test_output |