.github/workflows/coverage.yml

Summary

Maintainability
Test Coverage
name: coverage

on: [push, pull_request]

permissions:  # added using https://github.com/step-security/secure-workflows
  contents: read

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v3.3.0
    - uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
      with:
        ruby-version: '3.0'
    - name: Install dependencies
      run: gem install test-unit coveralls
    - name: Run test
      env:
        COVERALLS: "yes"
      run: ruby -Ilib exe/rake