Skip to content

Commit

Permalink
.circleci/config.yml: Add coverage job
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1nksm committed Jul 4, 2019
1 parent 04d3064 commit 7f58e2f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
steps:
- run: apk add --no-progress --no-cache ca-certificates
- checkout
- run: ./shellspec --task fixture:stat:prepare
- run: ./shellspec -o tap -o junit
- run:
command: |
Expand All @@ -23,9 +24,20 @@ jobs:
path: ~/report
- store_artifacts:
path: report
coverage:
working_directory: ~/shellspec
docker:
- image: kcov/kcov
steps:
- checkout
- run: ./shellspec --task fixture:stat:prepare
- run: ./shellspec --kcov
- store_artifacts:
path: coverage
workflows:
version: 2
lint_and_test:
jobs:
- lint
- test
- coverage

0 comments on commit 7f58e2f

Please sign in to comment.