Commit 139fd9fc authored by Rémy Coutable's avatar Rémy Coutable

ci: Expose tests metadata via Pages

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5bb160d3
......@@ -8,11 +8,16 @@ pages:
- .pages:rules
stage: pages
needs:
- rspec:coverage
- coverage-frontend
- karma
- compile-production-assets
- compile-storybook
- job: "rspec:coverage"
- job: "coverage-frontend"
- job: "karma"
- job: "compile-production-assets"
- job: "compile-storybook"
# `update-tests-metadata` only runs on GitLab.com's EE schedules pipelines
# while `pages` runs for all the 2-hourly schedules.
- job: "update-tests-metadata"
optional: true
before_script:
- apt-get update && apt-get -y install brotli gzip
script:
......@@ -23,6 +28,9 @@ pages:
- mv coverage-javascript/ public/coverage-javascript/ || true
- mv storybook/public public/storybook || true
- cp .public/assets/application-*.css public/application.css || true
- mv $KNAPSACK_RSPEC_SUITE_REPORT_PATH public/$KNAPSACK_RSPEC_SUITE_REPORT_PATH || true
- mv $FLAKY_RSPEC_SUITE_REPORT_PATH public/$FLAKY_RSPEC_SUITE_REPORT_PATH || true
- mv $RSPEC_PACKED_TESTS_MAPPING_PATH.gz public/$RSPEC_PACKED_TESTS_MAPPING_PATH.gz || true
- *compress-public
artifacts:
paths:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment