You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,12 @@ Alternatively, you can use CLI to achieve the same result:
99
99
2. Add a CI step before you execute your tests: `mint run mikeger/XcodeSelectiveTesting@0.11.0 YourWorkspace.xcworkspace --test-plan YourTestPlan.xctestplan --base-branch $PR_BASE_BRANCH`
100
100
3. Execute your tests
101
101
102
+
### Use case: GitHub Actions, other cases when the git repo is not in the shape to provide the changeset out of the box
103
+
104
+
1. Add code to install the tool
105
+
2. Collect the list of changed files
106
+
3. Provide the list of changed files via the command line option `-c` or `--changed-files`
107
+
102
108
## How does this work?
103
109
104
110
### 1. Detecting what is changed
@@ -144,7 +150,8 @@ This is the hardest part: dealing with obscure Xcode formats. But if we get that
144
150
-`--dependency-graph`: Opens Safari with a dependency graph visualization. Attention: if you don't trust Javascript ecosystem prefer using `--dot` option. More info [here](https://github.com/mikeger/XcodeSelectiveTesting/wiki/How-to-visualize-your-dependency-structure).
145
151
-`--dot`: Output dependency graph in Dot (Graphviz) format. To be used with Graphviz: `brew install graphviz`, then `xcode-selective-test --dot | dot -Tsvg > output.svg && open output.svg`
146
152
-`--turbo`: Turbo mode: run tests only for directly affected targets.
147
-
-`--verbose`: Provide verbose output.
153
+
-`--verbose`: Provide verbose output.
154
+
-`-c, --changed-files`: Provides the list of changed files to take in account. Do not attempt to calculate the changeset.
0 commit comments