@empiricalrun/test-gen 0.16.9 → 0.16.10
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.d.ts.map +1 -1
- package/dist/reporter/ci.js +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci.d.ts","sourceRoot":"","sources":["../../src/reporter/ci.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,wBAAsB,UAAU,CAAC,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"ci.d.ts","sourceRoot":"","sources":["../../src/reporter/ci.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,wBAAsB,UAAU,CAAC,SAAS,EAAE,QAAQ,EAAE,uBAsBrD"}
|
package/dist/reporter/ci.js
CHANGED
|
@@ -7,9 +7,9 @@ exports.reportOnCI = void 0;
|
|
|
7
7
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
8
8
|
async function reportOnCI(scenarios) {
|
|
9
9
|
console.log("env::CI", "true");
|
|
10
|
-
console.log("env::GITHUB_OUTPUT", "/home/runner/work/_temp/_runner_file_commands/
|
|
10
|
+
console.log("env::GITHUB_OUTPUT", "/home/runner/work/_temp/_runner_file_commands/set_output_1e614189-e40a-4b20-8ef0-f15bc9e3828d");
|
|
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_1e614189-e40a-4b20-8ef0-f15bc9e3828d") {
|
|
13
13
|
const testNames = scenarios.map((s) => s.name).join(" ");
|
|
14
14
|
const scenariosOutput = scenarios
|
|
15
15
|
.map((s) => {
|
|
@@ -20,9 +20,11 @@ async function reportOnCI(scenarios) {
|
|
|
20
20
|
`summary<<EOF\n${scenariosOutput}\nEOF`,
|
|
21
21
|
`test_names=${testNames}`,
|
|
22
22
|
].join("\n");
|
|
23
|
-
fs_extra_1.default.appendFileSync("/home/runner/work/_temp/_runner_file_commands/
|
|
23
|
+
fs_extra_1.default.appendFileSync("/home/runner/work/_temp/_runner_file_commands/set_output_1e614189-e40a-4b20-8ef0-f15bc9e3828d", envVars, {
|
|
24
24
|
encoding: "utf8",
|
|
25
25
|
});
|
|
26
|
+
const file = fs_extra_1.default.readFileSync("/home/runner/work/_temp/_runner_file_commands/set_output_1e614189-e40a-4b20-8ef0-f15bc9e3828d");
|
|
27
|
+
console.log("github output content", file.toString());
|
|
26
28
|
}
|
|
27
29
|
return scenarios;
|
|
28
30
|
}
|