Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ your Ultralight instance, for best-in-class traceability.
# Ultralight Design Controls instance.
test-execution-report-path: test-results/junit.xml

# Optional, custom 'Unit Under Test' to display in test execution report
test-execution-unit-under-test: V123.456.789

# Optional, enables test protocol updates.
# Path to the directory holding the YAML files for your test protocol
# definitions. Every test protocol must be an existing Verification (e.g.
Expand Down
11 changes: 9 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"ultralight-core": "0.3.0"
"ultralight-core": "0.4.0"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
Expand Down
4 changes: 4 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export async function run(): Promise<void> {
const testExecutionReportPath =
process.env.UL_TEST_EXECUTION_REPORT_PATH ||
core.getInput('test-execution-report-path')
const unitUnderTest =
process.env.UL_UNIT_UNDER_TEST ||
core.getInput('test-execution-unit-under-test')

let result: UltralightApiResponse

Expand All @@ -48,6 +51,7 @@ export async function run(): Promise<void> {
commitHash,
pullRequestUrl: prUrl,
testExecutionReportPath,
unitUnderTest,
testProtocolDefinitionsDirPath,
ultralightProductId,
ultralightApiKey,
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6518,7 +6518,7 @@ __metadata:
prettier-eslint: ^16.3.0
ts-jest: ^29.1.2
typescript: ^5.4.5
ultralight-core: 0.3.0
ultralight-core: 0.4.0
languageName: unknown
linkType: soft

Expand All @@ -6542,9 +6542,9 @@ __metadata:
languageName: node
linkType: hard

"ultralight-core@npm:0.3.0":
version: 0.3.0
resolution: "ultralight-core@npm:0.3.0"
"ultralight-core@npm:0.4.0":
version: 0.4.0
resolution: "ultralight-core@npm:0.4.0"
dependencies:
"@oclif/core": ^4.0.18
"@types/archiver": ^6.0.2
Expand All @@ -6555,7 +6555,7 @@ __metadata:
zod: ^3.24.2
bin:
ultralight-core: bin/run.js
checksum: 3146e7bfcd2c915b2f058daa5fad2c4b6b4d86e5a43b20cb518a56a6354688b124f4fc1a9d10dc4bb722883378ec6470f387be507bb162727cc469a7bb2363a3
checksum: dd81d30587aa6f4b01a7ce684f8e934de1e217ec00e44e67fa4b8ea5c626f5eb65676b47a673cb4caf30701f1a04078d577541e95e25e019c710915d450ab141
languageName: node
linkType: hard

Expand Down