Skip to content

Commit 585a4ac

Browse files
committed
docs(test): regenerate combined report defaults
1 parent f3dbc0a commit 585a4ac

2 files changed

Lines changed: 48 additions & 46 deletions

File tree

‎.github/workflows/continuous-integration.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ Workflow to run Node.js checks, builds and package validation.
2727
One CI reporting boundary
2828

2929
Commands write their declared native outputs into CI_REPORTS_DIR.
30-
Test results default to junit.xml, coverage to coverage/lcov.info and lint to
30+
Test results and coverage default to the same native results.json; lint defaults to
3131
lint.sarif. Configure test-results, test-coverage or lint-results beside the
32-
corresponding command when its native output differs. Merge shards natively.
32+
command when a runner needs separate files. See [native test reports](../../docs/usage/test-reports.md).
33+
Merge shards natively; their coverage output remains separate.
3334

3435
Call common ci-reports.yml once after all producer jobs with
3536
job-results: toJSON(needs). No report plans or artifact IDs need forwarding.
@@ -65,7 +66,7 @@ on:
6566
permissions: {}
6667
jobs:
6768
continuous-integration:
68-
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@05981e2c0d4b82bd09d6154082ecdb004dd7d9f9 # feat/native-github-coverage
69+
uses: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml@f3dbc0a49f10ca459112808a1cc31b8f4d1fbe8c # feat/native-github-coverage
6970
permissions:
7071
actions: read
7172
contents: read
@@ -185,7 +186,7 @@ jobs:
185186
# Default: `true`
186187
dependency-review: true
187188

188-
# Test options: command (default test:ci), arguments, coverage (boolean, default true), test-results (default junit.xml), test-coverage (default coverage/lcov.info), shards and merge-command. Paths are relative to CI_REPORTS_DIR. Prebuilt containers also require source-sha and source-prefix. Empty disables tests.
189+
# Test options: command (default test:ci), arguments, coverage (boolean, default true), test-results (default results.json), test-coverage (defaults to test-results, or coverage/lcov.info for Vitest shard merging), shards and merge-command. Paths are relative to CI_REPORTS_DIR. Prebuilt containers also require source-sha and source-prefix. Empty disables tests.
189190
# Default: `true`
190191
test: "true"
191192

@@ -301,7 +302,7 @@ jobs:
301302
| **`dependency-review`** | Enable dependency review scan. | **false** | **boolean** | `true` |
302303
| | Works with public repositories and private repositories with a GitHub Advanced Security license. | | | |
303304
| | See <https://github.com/actions/dependency-review-action>. | | | |
304-
| **`test`** | Test options: command (default test:ci), arguments, coverage (boolean, default true), test-results (default junit.xml), test-coverage (default coverage/lcov.info), shards and merge-command. Paths are relative to CI_REPORTS_DIR. Prebuilt containers also require source-sha and source-prefix. Empty disables tests. | **false** | **string** | `true` |
305+
| **`test`** | Test options: command (default test:ci), arguments, coverage (boolean, default true), test-results (default results.json), test-coverage (defaults to test-results, or coverage/lcov.info for Vitest shard merging), shards and merge-command. Paths are relative to CI_REPORTS_DIR. Prebuilt containers also require source-sha and source-prefix. Empty disables tests. | **false** | **string** | `true` |
305306
| **`working-directory`** | Working directory where dependencies and application commands run. | **false** | **string** | `.` |
306307
| | Relative paths resolve against the workspace of each application job. | | | |
307308
| | Directory existence and non-container workspace boundaries are validated in those jobs. | | | |

0 commit comments

Comments
 (0)