Skip to content

Added test coverage script #1

Added test coverage script

Added test coverage script #1

Workflow file for this run

name: Test Coverage Check
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.4
- name: Install dependencies
run: bundle install
- name: Run tests and enforce coverage
run: bundle exec rspec
- name: Upload coverage report (optional)
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/