Skip to content

Create CI

Create CI #57

Workflow file for this run

# 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: Swift
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Github Action For SwiftLint
uses: norio-nomura/[email protected]
Test:
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Install pods
run: |
touch ./env.xcconfig
echo ${{ secrets.API_URL }} >> ./env.xcconfig
pod install --repo-update --clean-install
shell: bash
- name: Select Xcode Version
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: Run Test
run: xcodebuild test clean -workspace ./HANE24.xcworkspace -scheme 24HANE -destination 'platform=iOS Simulator,name=iPhone 14 Pro' | xcpretty --test --color