Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Run Fastlane

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Ensure this matches the required version
- name: Install Bundler
run: gem install bundler -v 2.6.3
- name: Install dependencies
run: bundle install
- name: Skip Swift Macros
run: defaults write com.apple.dt.Xcode IDESkipMacroFingerprintValidation -bool YES
- uses: maierj/fastlane-action@v3.1.0
with:
lane: 'tests'
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ end

lane :tests do
run_tests(workspace: "GitAPIChallenge.xcworkspace",
devices: ["iPhone 14 Pro (16.0)"],
devices: ["iPhone 15 Pro"],
scheme: "GitAPIChallenge")
end