Skip to content

Commit

Permalink
Initial gha workflow - run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
souzamari committed Oct 22, 2024
1 parent 5e970c6 commit d6c4709
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ios-sdk-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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 Xcode
uses: actions/setup-xcode@v2
with:
xcode-version: '12.1.0'
- 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: Go Cache restore
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}/vendor/bundle
- name: Run Fastlane
run: bundle exec fastlane tests
- name: Store Artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: output/**

0 comments on commit d6c4709

Please sign in to comment.