Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mpw5 committed May 14, 2024
1 parent 9a35231 commit 54c59ea
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ references:
paths:
- cc-test-reporter

_persist-coverage: &persist-coverage
persist_to_workspace:
root: tmp
paths:
- coverage

_wait-for-db: &wait-for-db
run:
name: Wait for DB
Expand Down Expand Up @@ -201,6 +207,8 @@ commands:
--timings-type=filename
tmp/cc-test-reporter format-coverage -t simplecov -o "tmp/coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
- store_artifacts:
path: tmp/coverage
- persist_to_workspace:
root: tmp
paths:
Expand All @@ -213,10 +221,8 @@ commands:
when: always
- store_artifacts:
path: tmp/coverage
when: always
- store_test_results:
path: /tmp/test-results/rspec
when: always

run-cucumber:
description: >
Expand Down Expand Up @@ -405,6 +411,7 @@ jobs:
- *create-tmp-dir
- *install-codeclimate
- *persist-codeclimate
- *persist-coverage
- build-base

smoke-test:
Expand All @@ -430,11 +437,17 @@ jobs:
parallelism: 6
steps:
- checkout
- *attach-tmp-workspace
- restore_cache:
key: coverage-{{.Revision}}-{{.Environment.CIRCLE_NODE_INDEX}}
- store_artifacts:
path: tmp/coverage
when: always
- run:
command: |
ls tmp
ls tmp/coverage
- persist_to_workspace:
root: tmp
paths:
- coverage
- run:
name: Halt if no tests to run
command: |
Expand Down

0 comments on commit 54c59ea

Please sign in to comment.