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: .github/actions/tests/action.yml
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,30 @@
1
1
name: 'spmgraph tests'
2
2
description: 'Map tests to run based on changed files of a given dependency graph'
3
3
inputs:
4
-
package_directory:
4
+
package-directory:
5
5
description: The directory where the Package.swift file is located
6
6
required: true
7
7
verbose:
8
8
description: Show extra logging for troubleshooting purposes.
9
9
type: boolean
10
10
default: false
11
-
excluded_suffixes:
11
+
excluded-suffixes:
12
12
description: Comma separated suffixes to exclude from the graph e.g. 'Tests','Live','TestSupport'
13
13
required: false
14
14
default: ''
15
-
base_branch:
15
+
base-branch:
16
16
description: Base branch to compare the changes against
17
17
required: false
18
18
default: 'main'
19
-
changed_files:
19
+
changed-files:
20
20
description: Optional list of changed files. Otherwise git versioning is used
21
21
required: false
22
22
default: ''
23
-
output_format:
23
+
output-format:
24
24
description: "The output mode. Options are: textDump, textFile. The first dumps the list of test modules to run in a single line, while the latter Saves the list of test modules into an `output.txt` file in the `current dir`. Both follow the following the xcodebuild/fastlane scan expected format."
25
25
required: false
26
26
default: 'textDump'
27
-
adds_to_summary:
27
+
adds-to-summary:
28
28
description: List the filtered tests in the action summary.
29
29
type: boolean
30
30
default: false
@@ -36,6 +36,10 @@ inputs:
36
36
37
37
- **Warning**: Ensure this is consistent across commands, otherwise your configuration won't be correctly loaded!
38
38
required: false
39
+
experimental-ui-test-targets:
40
+
description: "Warning: This is an experimental flag, use it with caution! Enables support for including UITest targets on selecting testing. It looks for a `uiTestsDependencies.json` in the temporary directory, reads it, and checks if any of the UITest targets dependencies are affected, if so, it includes them in the list of test targets to run."
41
+
type: boolean
42
+
default: false
39
43
outputs:
40
44
test_targets:
41
45
description: A comma separated list of test targets to run. It can be passed as is to xcodebuild or fastlane scan.
@@ -50,8 +54,8 @@ runs:
50
54
- id: spmgraph_test
51
55
name: Run spmgraph tests
52
56
run: |
53
-
# note: changed_files take precedence over baseBranch
"Warning: This is an experimental flag, use it with caution! Enables support for including UITest targets on selecting testing. It looks for a `uiTestsDependencies.json` in the temporary directory, reads it, and checks if any of the UITest targets dependencies are affected, if so, it includes them in the list of test targets to run."
0 commit comments