Add active_support requirement to resolve issue #126 #181
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: git-fame | |
on: [push] | |
jobs: | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: jwlawson/actions-setup-cmake@v1.9 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: 2.7.5 | |
- run: bundle exec rubocop | |
rspec: | |
runs-on: ${{ matrix.os }} | |
needs: [rubocop] | |
strategy: | |
matrix: | |
ruby: ["2.7.5", "3.0.3", "3.1.0"] | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: jwlawson/actions-setup-cmake@v1.9 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- run: bundle exec rspec --format RSpec::Github::Formatter --format progress --color --tty | |
- run: bundle exec rake install:local | |
- run: bundle exec exe/git-fame --log-level debug | |
- uses: paambaati/codeclimate-action@v3.2.0 | |
env: | |
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} | |
CI: true | |
with: | |
coverageLocations: ${{github.workspace}}/coverage/coverage.xml:cobertura | |
coverageCommand: bundle exec rspec |