Skip to content

Commit

Permalink
Report code coverage via coveralls orb (#1924)
Browse files Browse the repository at this point in the history
* Report code coverage via coveralls orb

* Syntax fix
  • Loading branch information
bess authored Sep 13, 2024
1 parent 8cc42bb commit 2ba1d0b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
version: 2.1

orbs:
browser-tools: circleci/[email protected]
coveralls: coveralls/[email protected]

commands:
install_dependencies:
steps:
Expand All @@ -24,8 +30,7 @@ commands:
key: *yarn_key
paths:
- ~/.cache/yarn
orbs:
browser-tools: circleci/[email protected]

jobs:
build:
working_directory: ~/pdc_describe
Expand Down Expand Up @@ -90,10 +95,11 @@ jobs:
- run: bundle exec rake db:migrate RAILS_ENV=test
- run:
name: Run Rspec
command: COVERALLS_REPO_TOKEN=$COVERALLS_REPO_TOKEN bundle exec rspec spec
command: bundle exec rspec spec
- store_artifacts:
path:
~/pdc_describe/coverage
- coveralls/upload

workflows:
version: 2
Expand Down

0 comments on commit 2ba1d0b

Please sign in to comment.