Skip to content

Commit bb85d95

Browse files
authored
Merge pull request #1 from diamirio/feature/new-setup
Added endpoints example
2 parents 7b5d795 + 70237d3 commit bb85d95

25 files changed

Lines changed: 1226 additions & 2 deletions

File tree

.github/workflows/testing.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
name: Run Tests
12+
runs-on: macos-15
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- uses: maxim-lobanov/setup-xcode@v1
19+
with:
20+
xcode-version: '26.1.1'
21+
22+
- name: Build and Test
23+
run: |
24+
xcodebuild test \
25+
-project EndpointsExample.xcodeproj \
26+
-scheme EndpointsExample \
27+
-destination 'platform=iOS Simulator,name=iPhone 17,OS=latest' \
28+
-enableCodeCoverage YES \
29+
| xcpretty && exit ${PIPESTATUS[0]}

.gitignore

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# Xcode
2+
#
3+
4+
## User settings
5+
xcuserdata/
6+
7+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
8+
*.xcscmblueprint
9+
*.xccheckout
10+
11+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
12+
build/
13+
DerivedData/
14+
*.moved-aside
15+
*.pbxuser
16+
!default.pbxuser
17+
*.mode1v3
18+
!default.mode1v3
19+
*.mode2v3
20+
!default.mode2v3
21+
*.perspectivev3
22+
!default.perspectivev3
23+
24+
## Obj-C/Swift specific
25+
*.hmap
26+
27+
## App packaging
28+
*.ipa
29+
*.dSYM.zip
30+
*.dSYM
31+
32+
## Playgrounds
33+
timeline.xctimeline
34+
playground.xcworkspace
35+
36+
# Swift Package Manager
37+
#
38+
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
39+
# Packages/
40+
# Package.pins
41+
# Package.resolved
42+
# *.xcodeproj
43+
#
44+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
45+
# hence it is not needed unless you have added a package configuration file to your project
46+
# .swiftpm
47+
48+
.build/
49+
50+
# CocoaPods
51+
#
52+
# We recommend against adding the Pods directory to your .gitignore. However
53+
# you should judge for yourself, the pros and cons are mentioned at:
54+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
55+
#
56+
# Pods/
57+
#
58+
# Add this line if you want to avoid checking in source code from the Xcode workspace
59+
# *.xcworkspace
60+
61+
# Carthage
62+
#
63+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
64+
# Carthage/Checkouts
65+
66+
Carthage/Build/
67+
68+
# Accio dependency management
69+
Dependencies/
70+
.accio/
71+
72+
# fastlane
73+
#
74+
# It is recommended to not store the screenshots in the git repo.
75+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
76+
# For more information about the recommended setup visit:
77+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
78+
79+
fastlane/report.xml
80+
fastlane/Preview.html
81+
fastlane/screenshots/**/*.png
82+
fastlane/test_output
83+
84+
# Code Injection
85+
#
86+
# After new code Injection tools there's a generated folder /iOSInjectionProject
87+
# https://github.com/johnno1962/injectionforxcode
88+
89+
iOSInjectionProject/
90+
91+
# macOS
92+
.DS_Store
93+
.AppleDouble
94+
.LSOverride
95+
96+
# Thumbnails
97+
._*
98+
99+
# Files that might appear in the root of a volume
100+
.DocumentRevisions-V100
101+
.fseventsd
102+
.Spotlight-V100
103+
.TemporaryItems
104+
.Trashes
105+
.VolumeIcon.icns
106+
.com.apple.timemachine.donotpresent
107+
108+
# Directories potentially created on remote AFP share
109+
.AppleDB
110+
.AppleDesktop
111+
Network Trash Folder
112+
Temporary Items
113+
.apdisk

0 commit comments

Comments
 (0)