Sha256: ece13282aff211a15bf41b782b1d1ae94daf994aed25e47228f44a9e2014fc40

Contents?: true

Size: 1.08 KB

Versions: 18

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.2"
    
    steps:
    - uses: actions/checkout@v3
    - 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@v2
      with:
        name: coverage-${{matrix.os}}-${{matrix.ruby}}
        path: .covered.db
  
  validate:
    needs: test
    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@v3
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: "3.2"
        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

18 entries across 18 versions & 1 rubygems

Version Path
bake-modernize-0.17.8 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.7 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.6 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.5 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.4 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.3 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.2 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.1 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.17.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.16.2 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.16.1 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.16.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.15.1 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.15.0 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.14.4 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.14.3 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.14.2 template/actions/.github/workflows/coverage.yaml
bake-modernize-0.14.1 template/actions/.github/workflows/coverage.yaml