Sha256: 0aaaecf77ede3a9de628463cc9bdae7831fc501fa3ba772863379c9764e30dfe

Contents?: true

Size: 997 Bytes

Versions: 1

Compression:

Stored size: 997 Bytes

Contents

# Put this in the file: .github/workflows/verify.yml

name: Verify
on: [push, pull_request]

jobs:
  rubocop:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7 # Not needed with a .ruby-version file
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run Rubocop
      run: bundle exec rubocop

  rspec:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 2.7 # Not needed with a .ruby-version file
        bundler-cache: true # runs 'bundle install' and caches installed gems automatically
    - name: Run RSpec
      run: COVERAGE=true bundle exec rspec
    - name: Run codacy-coverage-reporter
      uses: codacy/codacy-coverage-reporter-action@master
      with:
        project-token: "8c564cf8054e4575b20b580d47020f52"
        coverage-reports: coverage/coverage.xml

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dude-cli-2.1.0 .github/workflows/verify.yml