diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3de8d3788..65057f692 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -33,4 +33,23 @@ jobs: - uses: zwaldowski/cspell-action@v1 with: config: cspell.json - paths: "**/*" \ No newline at end of file + 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 diff --git a/coverage/.last_run.json b/coverage/.last_run.json new file mode 100644 index 000000000..708c06f1a --- /dev/null +++ b/coverage/.last_run.json @@ -0,0 +1,5 @@ +{ + "result": { + "line": 94.29 + } +}