From 1c1c47130bbaba017a743815b96a6c23710fe87d Mon Sep 17 00:00:00 2001 From: Jean Luis Urena Date: Tue, 9 Jul 2024 16:55:24 -0400 Subject: [PATCH] Add code coverage --- .github/workflows/ruby.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a9e2128..96d6ccc 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -31,11 +31,17 @@ jobs: DEBUG: true - name: Run tests run: bundle exec rake + - name: Code Coverage + uses: joshmfrankel/simplecov-check-action@main + with: + check_job_name: Code Coverage + github_token: ${{ secrets.GITHUB_TOKEN }} + minimum_suite_coverage: 100 lint: runs-on: ubuntu-20.04 permissions: checks: write contents: write steps: - - name: Standard Ruby + - name: Lint uses: standardrb/standard-ruby-action@v1