Sha256: c21f9fd6b63526192a25fb70a5168a9245a0085ef1022963203391dcb88b2130

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

name: Ruby specs

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:
    name: Tests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: ['2.5', '2.6', '2.7', '3.0']
        experimental: [false]

        include:
          - ruby-version: 'head'
            experimental: true
          - ruby-version: 'jruby-9.2'
            experimental: true

    continue-on-error: ${{ matrix.experimental }}

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Run specs
      run: JRUBY_OPTS="--dev --debug" bundle exec rake spec
    - name: Coveralls Parallel
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.github_token }}
        flag-name: run-${{ matrix.ruby-version }}
        parallel: true

  coverage:
    name: Coverage
    needs: test
    runs-on: ubuntu-latest
    steps:
    - name: Coveralls Finished
      uses: coverallsapp/github-action@master
      with:
        github-token: ${{ secrets.github_token }}
        parallel-finished: true

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coveralls_reborn-0.23.1 .github/workflows/ruby.yml
coveralls_reborn-0.23.0 .github/workflows/ruby.yml