@empiricalrun/test-gen 0.16.7 → 0.16.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/reporter/ci.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/reporter/ci.js
CHANGED
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.reportOnCI = void 0;
|
|
7
7
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
8
8
|
async function reportOnCI(scenarios) {
|
|
9
|
-
console.log(""
|
|
10
|
-
console.log(""
|
|
9
|
+
console.log("env::CI", "true");
|
|
10
|
+
console.log("env::GITHUB_OUTPUT", "/home/runner/work/_temp/_runner_file_commands/set_output_d7d8ff8f-b245-45e2-815f-95578e554af7");
|
|
11
11
|
console.log("scenarios", JSON.stringify(scenarios, null, 2));
|
|
12
|
-
if ("true" && "/home/runner/work/_temp/_runner_file_commands/
|
|
12
|
+
if ("true" && "/home/runner/work/_temp/_runner_file_commands/set_output_d7d8ff8f-b245-45e2-815f-95578e554af7") {
|
|
13
13
|
const testNames = scenarios.map((s) => s.name).join(" ");
|
|
14
14
|
const scenariosOutput = scenarios
|
|
15
15
|
.map((s) => {
|
|
@@ -20,7 +20,7 @@ async function reportOnCI(scenarios) {
|
|
|
20
20
|
`summary<<EOF\n${scenariosOutput}\nEOF`,
|
|
21
21
|
`test_names=${testNames}`,
|
|
22
22
|
].join("\n");
|
|
23
|
-
await fs_extra_1.default.appendFile("/home/runner/work/_temp/_runner_file_commands/
|
|
23
|
+
await fs_extra_1.default.appendFile("/home/runner/work/_temp/_runner_file_commands/set_output_d7d8ff8f-b245-45e2-815f-95578e554af7", envVars);
|
|
24
24
|
}
|
|
25
25
|
return scenarios;
|
|
26
26
|
}
|