Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: ci persist test results #5073

Closed
wants to merge 2 commits into from
Closed
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
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,8 @@ jobs:
- run:
name: Running TS unit tests
command: npm run test:unit
- store_test_results:
path: test/reports

test-go:
executor: docker-amd64
Expand Down Expand Up @@ -986,6 +988,9 @@ jobs:
TEST_SNYK_FIPS: << parameters.fips >>
TEST_SNYK_COMMAND: << parameters.test_snyk_command >>
TEST_SNYK_DONT_SKIP_ANYTHING: << parameters.dont_skip_tests >>
JEST_JUNIT_OUTPUT_DIR: reports
- store_test_results:
path: reports

regression-tests:
parameters:
Expand Down
72 changes: 72 additions & 0 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"build-cli:prod": "node --max-old-space-size=8192 node_modules/webpack/bin/webpack.js --config webpack.prod.ts",
"watch": "npm run build-cli:dev -- --watch",
"test": "npm run test:unit && npm run test:acceptance && npm run test:tap",
"test:unit": "jest --runInBand --testPathPattern '/test(/jest)?/unit/'",
"test:acceptance": "jest --runInBand --testPathPattern \"/test(/jest)?/acceptance/\"",
"test:unit": "jest --runInBand --testPathPattern '/test(/jest)?/unit/' --reporters=jest-junit",
"test:acceptance": "jest --runInBand --testPathPattern '/test(/jest)?/acceptance/' --reporters=jest-junit",
"test:tap": "tap -Rspec --timeout=300 test/tap/*.test.* ",
"test:smoke": "./scripts/run-smoke-tests-locally.sh",
"dev": "ts-node ./src/cli/index.ts"
Expand Down Expand Up @@ -85,6 +85,7 @@
"glob": "^7.1.7",
"global-agent": "^2.1.12",
"jest-json-schema": "^6.1.0",
"jest-junit": "^16.0.0",
"json-stream-stringify": "^3.1.1",
"lodash.assign": "^4.2.0",
"lodash.camelcase": "^4.3.0",
Expand Down
Loading