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
{{ message }}
Repository navigation
Commit f075b8a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/continuous-integration.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,11 +78,15 @@ jobs:
78
78
# Optional build output directory relative to working-directory. Uploaded after building and restored at the same path before tests.
79
79
build-artifact: ""
80
80
81
-
# Validate a public Composer source distribution from the Git repository root. Disabled for applications that do not publish a Composer package.
82
-
package: false
83
-
84
-
# Optional commands in an isolated Composer consumer after archive and autoload checks. vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package.
85
-
package-tests: ""
81
+
# Validate a public Composer source distribution from the Git repository root.
82
+
# Pass "false" (the default) to disable, "true" for archive and autoload checks,
83
+
# or a JSON object with `tests` for additional commands in an isolated Composer consumer.
84
+
# Quote booleans because this input has type string. Example: `{"tests":"my-cli --help"}`.
85
+
# vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package.
86
+
# Unknown options and non-string tests are rejected before packaging.
87
+
#
88
+
# Default: `false`
89
+
package: "false"
86
90
87
91
# Review dependency changes on pull requests.
88
92
# Default: `true`
@@ -111,8 +115,12 @@ jobs:
111
115
| **`test-cache`** | Optional test cache directory relative to working-directory. Cache generated fixtures or test results, never vendor. | **false** | **string** | - |
| **`build-artifact`** | Optional build output directory relative to working-directory. Uploaded after building and restored at the same path before tests. | **false** | **string** | - |
114
-
| **`package`** | Validate a public Composer source distribution from the Git repository root. Disabled for applications that do not publish a Composer package. | **false** | **boolean** | `false` |
115
-
| **`package-tests`** | Optional commands in an isolated Composer consumer after archive and autoload checks. vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package. | **false** | **string** | - |
118
+
| **`package`** | Validate a public Composer source distribution from the Git repository root. | **false** | **string** | `false` |
119
+
| | Pass "false" (the default) to disable, "true" for archive and autoload checks, | | | |
120
+
| | or a JSON object with `tests` for additional commands in an isolated Composer consumer. | | | |
121
+
| | Quote booleans because this input has type string. Example: `{"tests":"my-cli --help"}`. | | | |
122
+
| | vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package. | | | |
123
+
| | Unknown options and non-string tests are rejected before packaging. | | | |
Copy file name to clipboardExpand all lines: .github/workflows/continuous-integration.yml
+35-11Lines changed: 35 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -55,13 +55,15 @@ on:
55
55
type: string
56
56
default: ""
57
57
package:
58
-
description: Validate a public Composer source distribution from the Git repository root. Disabled for applications that do not publish a Composer package.
59
-
type: boolean
60
-
default: false
61
-
package-tests:
62
-
description: Optional commands in an isolated Composer consumer after archive and autoload checks. vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package.
58
+
description: |
59
+
Validate a public Composer source distribution from the Git repository root.
60
+
Pass "false" (the default) to disable, "true" for archive and autoload checks,
61
+
or a JSON object with `tests` for additional commands in an isolated Composer consumer.
62
+
Quote booleans because this input has type string. Example: `{"tests":"my-cli --help"}`.
63
+
vendor/bin is on PATH; PACKAGE_NAME, PACKAGE_INSTALL_PATH and PACKAGE_ARCHIVE_PATH identify the package.
64
+
Unknown options and non-string tests are rejected before packaging.
63
65
type: string
64
-
default: ""
66
+
default: "false"
65
67
dependency-review:
66
68
description: Review dependency changes on pull requests.
0 commit comments