@empiricalrun/test-gen 0.16.6 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.16.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 1791ad0: chore: add logs for ci report
8
+
9
+ ## 0.16.7
10
+
11
+ ### Patch Changes
12
+
13
+ - be7898c: chore: add logs for ci report
14
+
3
15
  ## 0.16.6
4
16
 
5
17
  ### Patch Changes
@@ -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,uBAerD"}
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,uBAkBrD"}
@@ -6,7 +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
- if ("true" && "/home/runner/work/_temp/_runner_file_commands/set_output_02e15f1e-ff7c-48ad-93da-06a28848a726") {
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
+ console.log("scenarios", JSON.stringify(scenarios, null, 2));
12
+ if ("true" && "/home/runner/work/_temp/_runner_file_commands/set_output_d7d8ff8f-b245-45e2-815f-95578e554af7") {
10
13
  const testNames = scenarios.map((s) => s.name).join(" ");
11
14
  const scenariosOutput = scenarios
12
15
  .map((s) => {
@@ -17,7 +20,7 @@ async function reportOnCI(scenarios) {
17
20
  `summary<<EOF\n${scenariosOutput}\nEOF`,
18
21
  `test_names=${testNames}`,
19
22
  ].join("\n");
20
- await fs_extra_1.default.appendFile("/home/runner/work/_temp/_runner_file_commands/set_output_02e15f1e-ff7c-48ad-93da-06a28848a726", envVars);
23
+ await fs_extra_1.default.appendFile("/home/runner/work/_temp/_runner_file_commands/set_output_d7d8ff8f-b245-45e2-815f-95578e554af7", envVars);
21
24
  }
22
25
  return scenarios;
23
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.16.6",
3
+ "version": "0.16.8",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"