File tree Expand file tree Collapse file tree 1 file changed +36
-7
lines changed
Expand file tree Collapse file tree 1 file changed +36
-7
lines changed Original file line number Diff line number Diff line change 11name : Swift
22
33on :
4- push :
5- branches : [ develop ]
64 pull_request :
7- branches : [ main ]
5+ branches : [ develop ]
86
97jobs :
10- build :
118
9+ swiftLint :
1210 runs-on : macos-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Install Bundle
14+ run : bundle install
15+ - name : Run swiftlint
16+ run : bundle exec fastlane swiftLintLane
1317
18+ build :
19+ needs : swiftLint
20+ runs-on : macos-latest
21+ steps :
22+ - uses : actions/checkout@v2
23+ - name : Install Bundle
24+ run : bundle install
25+ - name : Build
26+ run : bundle exec fastlane buildLane
27+ - name : Upload build
28+ uses : actions/upload-artifact@v2
29+ with :
30+ name : build
31+ path : derivedData/Build/Products/Debug-iphonesimulator/Addame.app
32+
33+ unitTests :
34+ needs : build
35+ runs-on : macos-latest
1436 steps :
15- - uses : actions/checkout@v1
16- - name : GitHub Action for SwiftLint
17- uses : norio-nomura/action-swiftlint@3.2.1
37+ - uses : actions/checkout@v2
38+ - name : Download core tests
39+ uses : actions/download-artifact@v2
40+ with :
41+ name : coreTests
42+ path : derivedData/Build/Products/Debug-iphonesimulator/EventFormViewTests.xctest
43+ - name : Install Bundle
44+ run : bundle install
45+ - name : Run unit tests
46+ run : bundle exec fastlane unitTestLane
You can’t perform that action at this time.
0 commit comments