Sha256: 3144ddf56a4d0c284cc99c575187d6e05b90dd5b9e7cc1c6cf8232668861ff28

Contents?: true

Size: 1.08 KB

Versions: 10

Compression:

Stored size: 1.08 KB

Contents

name: Coverage

on: [push, pull_request]

permissions:
  contents: read

env:
  CONSOLE_OUTPUT: XTerm
  COVERAGE: PartialSummary

jobs:
  test:
    name: ${{matrix.ruby}} on ${{matrix.os}}
    runs-on: ${{matrix.os}}-latest
    
    strategy:
      matrix:
        os:
          - ubuntu
          - macos
        
        ruby:
          - "3.3"
    
    steps:
    - uses: actions/checkout@v4
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{matrix.ruby}}
        bundler-cache: true
    
    - name: Run tests
      timeout-minutes: 5
      run: bundle exec bake test

    - uses: actions/upload-artifact@v3
      with:
        name: coverage-${{matrix.os}}-${{matrix.ruby}}
        path: .covered.db
  
  validate:
    needs: test
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v4
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: "3.3"
        bundler-cache: true
    
    - uses: actions/download-artifact@v3
    
    - name: Validate coverage
      timeout-minutes: 5
      run: bundle exec bake covered:validate --paths */.covered.db \;

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bake-modernize-0.25.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.24.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.23.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.22.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.21.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.20.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.19.4 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.19.3 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.19.2 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.19.1 template/actions/.github/workflows/coverage.yaml