Skip to content

Commit 70096c0

Browse files
authored
Merge pull request #464 from nimblehq/release/4.3.0
Release - 4.3.0
2 parents f506480 + 2833cca commit 70096c0

File tree

24 files changed

+122
-89
lines changed

24 files changed

+122
-89
lines changed

.github/wiki/Project-Configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ There are 3 default targets in a project:
1515

1616
- {ProjectName}
1717
- {ProjectName}Tests
18-
- {ProjectName}UITests
18+
- {ProjectName}KIFUITests
1919

2020
### Schemes
2121

.github/wiki/Standard-File-Organization.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,9 @@ To keep all current and upcoming iOS projects aligned, we standardize an iOS pro
103103
│   ├── Data+Decode.swift
104104
│   ├── String+Data.swift
105105
│   └── TestError.swift
106-
└── {ProjectName}UITests
106+
└── {ProjectName}KIFUITests
107107
   ├── Configurations
108108
   │   └── Plists
109-
   ├── Resources
110109
   └── Sources
111110
   ├── AccessibilityIdentifiers
112111
   │   ├── Login
@@ -121,9 +120,7 @@ To keep all current and upcoming iOS projects aligned, we standardize an iOS pro
121120
   │   ├── Login
122121
   │   └── Home
123122
   └── Utilities
124-
   ├── Data+Decode.swift
125-
   ├── String+Data.swift
126-
   └── TestError.swift
123+
   └── KIF+Swift.swift
127124
```
128125

129126
## README.md
@@ -146,6 +143,6 @@ This folder contains the main sources of the project. There are three sub-folder
146143

147144
This folder contains the unit testing and integration testing of the main project.
148145

149-
## {ProjectName}UITests
146+
## {ProjectName}KIFUITests
150147

151-
This folder contains the UI testing of the main project.
148+
This folder contains the KIF UI testing of the main project. Use KIF instead of XCUITest for speed and reliability.

.github/workflows/automatic_pull_request_review.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ on:
44
pull_request:
55
types: [opened, reopened, edited, synchronize]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
review_pull_request:
913
name: Pull request review by Danger
1014
runs-on: macOS-12
1115
steps:
12-
- name: Cancel Previous Runs
13-
uses: styfle/cancel-workflow-action@0.5.0
14-
with:
15-
access_token: ${{ github.token }}
16-
1716
- uses: actions/checkout@v2
1817
with:
1918
fetch-depth: 0

.github/workflows/deploy_app_store.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches: [ master, main ]
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
lint:
1519
name: Lint
@@ -29,11 +33,6 @@ jobs:
2933
name: Build
3034
runs-on: macOS-latest
3135
steps:
32-
- name: Cancel Previous Runs
33-
uses: styfle/cancel-workflow-action@0.5.0
34-
with:
35-
access_token: ${{ github.token }}
36-
3736
- name: Checkout Repo
3837
uses: actions/checkout@v2
3938
# Set fetch-depth (default: 1) to get whole tree

.github/workflows/deploy_production_firebase.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches: [ release/** ]
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
Lint:
1519
name: lint
@@ -29,11 +33,6 @@ jobs:
2933
name: Build
3034
runs-on: macOS-latest
3135
steps:
32-
- name: Cancel Previous Runs
33-
uses: styfle/cancel-workflow-action@0.5.0
34-
with:
35-
access_token: ${{ github.token }}
36-
3736
- uses: actions/checkout@v2
3837
# Set fetch-depth (default: 1) to get whole tree
3938
with:

.github/workflows/deploy_staging_firebase.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches: [ develop ]
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
lint:
1519
name: Lint
@@ -29,11 +33,6 @@ jobs:
2933
name: Build
3034
runs-on: macOS-latest
3135
steps:
32-
- name: Cancel Previous Runs
33-
uses: styfle/cancel-workflow-action@0.5.0
34-
with:
35-
access_token: ${{ github.token }}
36-
3736
- uses: actions/checkout@v2
3837
# Set fetch-depth (default: 1) to get whole tree
3938
with:

.github/workflows/test_install_script.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ on:
44
push:
55
branches: [ feature/**, bug/**, chore/** ]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
Test:
913
name: Test
1014
runs-on: macOS-12
1115
steps:
12-
- name: Cancel Previous Runs
13-
uses: styfle/cancel-workflow-action@0.5.0
14-
with:
15-
access_token: ${{ github.token }}
16-
1716
- uses: actions/checkout@v2
1817
with:
1918
fetch-depth: 0

.github/workflows/test_upload_build_to_test_flight.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,15 @@ name: Test Upload Build to TestFlight
1111
on:
1212
pull_request
1313

14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true
17+
1418
jobs:
1519
build:
1620
name: Build
1721
runs-on: macOS-12
1822
steps:
19-
- name: Cancel Previous Runs
20-
uses: styfle/cancel-workflow-action@0.5.0
21-
with:
22-
access_token: ${{ github.token }}
23-
2423
- name: Checkout Repo
2524
uses: actions/checkout@v2
2625
with:

.swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
included:
22
- {PROJECT_NAME}
33
- {PROJECT_NAME}Tests
4-
- {PROJECT_NAME}UITests
4+
- {PROJECT_NAME}KIFUITests
55

66
excluded:
77
- {PROJECT_NAME}Tests/Sources/Mocks/Sourcery/AutoMockable.generated.swift

Podfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ def testing_pods
77
pod 'Nimble'
88
pod 'RxNimble', subspecs: ['RxBlocking', 'RxTest']
99
pod 'RxSwift'
10-
# TODO: Remove or update the version of `1.8.0` to the newest version (not 1.8.1) when init a new project.
11-
# Currently, there is a bug on `1.8.1` - the newest version.
12-
pod 'Sourcery', '1.8.0'
10+
pod 'Sourcery'
1311
pod 'SwiftFormat/CLI'
1412
end
1513

@@ -32,19 +30,22 @@ target '{PROJECT_NAME}' do
3230
pod 'IQKeyboardManagerSwift'
3331
pod 'NimbleExtension', :git => 'https://github.com/nimblehq/NimbleExtension', :branch => 'master'
3432
pod 'R.swift'
35-
pod 'Resolver' # Needs Cocoapods on iOS 11 to support Resolver
33+
pod 'Factory'
3634

3735
# Development
3836
pod 'SwiftLint'
3937
pod 'Wormholy', :configurations => ['Debug Staging', 'Debug Production']
38+
pod 'xcbeautify'
4039

4140
target '{PROJECT_NAME}Tests' do
4241
inherit! :search_paths
4342
testing_pods
4443
end
4544

46-
target '{PROJECT_NAME}UITests' do
45+
target '{PROJECT_NAME}KIFUITests' do
4746
testing_pods
47+
pod 'KIF', :configurations => ['Debug Staging', 'Debug Production']
48+
pod 'KIF/IdentifierTests', :configurations => ['Debug Staging', 'Debug Production']
4849
end
4950
end
5051

0 commit comments

Comments
 (0)