generator-reshow 0.17.61 → 0.17.62

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.
@@ -18,7 +18,10 @@ jobs:
18
18
  - run:
19
19
  name: "Test with terratest"
20
20
  command: |
21
- go test -v ./tests
21
+ go test -timeout 30m -v ./tests | tee test_output.log
22
+ terratest_log_parser -testlog test_output.log -outputdir test_output
23
+ - store_test_results:
24
+ path: test_output
22
25
  build-and-publish:
23
26
  parameters:
24
27
  docker-tag:
@@ -36,7 +36,11 @@ pre-test:
36
36
  stage: test
37
37
  image: $CI_TERRATEST
38
38
  script:
39
- - go test -v ./tests
39
+ - go test -v ./tests | tee test_output.log
40
+ - terratest_log_parser -testlog test_output.log -outputdir test_output
41
+ artifacts:
42
+ reports:
43
+ junit: ./test_output/report.xml
40
44
 
41
45
  build-docker-image:
42
46
  extends: .parallel
@@ -38,6 +38,7 @@
38
38
  "build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type",
39
39
  "mochaFor": "STRICT_MODE=on mocha -r global-jsdom/register",
40
40
  "mocha": "npm run mochaFor -- 'build/{cjs,es}/**/__tests__/*.{js,mjs}'",
41
+ "test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/{cjs,es}/**/__tests__/*.{js,mjs}'",
41
42
  "test": "npm run build && npm run mocha",
42
43
  "prepublishOnly": "npm run test"
43
44
  },
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.17.61",
2
+ "version": "0.17.62",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",