-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (29 loc) · 993 Bytes
/
Test_Build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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