Skip to content

Commit

Permalink
ntegrated test coverage % report
Browse files Browse the repository at this point in the history
Signed-off-by: snehaldwivedi <[email protected]>
  • Loading branch information
snehaldwivedi authored and Your Name committed Jan 27, 2022
1 parent 3e75311 commit 7d7b676
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,23 @@ jobs:
- uses: zwaldowski/cspell-action@v1
with:
config: cspell.json
paths: "**/*"
paths: "**/*"

coverage-test:
name: Coverage
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Set up ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: run specs
run: bundle exec rake spec --trace
- name: Simplecov Report
uses: aki77/simplecov-report-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
failedThreshold: 90
resultPath: coverage/.last_run.json
5 changes: 5 additions & 0 deletions coverage/.last_run.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"result": {
"line": 94.29
}
}

0 comments on commit 7d7b676

Please sign in to comment.