Sha256: 0f70e79f7da21530b4abe78b13f4a1cc785318db9d71678a854f80112f076c19

Contents?: true

Size: 833 Bytes

Versions: 1

Compression:

Stored size: 833 Bytes

Contents

name: CI

on:
  push:
    branches:
      - main

  pull_request:
    branches:
      - main

  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby:
          - 2.6
          - 2.7
          - 3.0
          - 3.1
          - jruby-9.3.7


    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
        bundler-cache: true
    - name: Run all tests with RSpec 
      env:
        UPLOAD_COVERAGE_TO_CODACY: true
      run: bundle exec rspec
    - name: Run codacy-coverage-reporter
      if: matrix.ruby == '3.1'
      uses: codacy/codacy-coverage-reporter-action@v1
      with:
        project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
        coverage-reports: coverage/coverage.xml

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-man-1.1.0 .github/workflows/ci.yml