Skip to content

Bump ruby/setup-ruby from 1.150.0 to 1.152.0 #124

Bump ruby/setup-ruby from 1.150.0 to 1.152.0

Bump ruby/setup-ruby from 1.150.0 to 1.152.0 #124

Workflow file for this run

name: Test Coverage
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
coverage:
name: coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
with:
ruby-version: 3.0
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install cc-test-reporter and prebuild notification
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
- name: Run tests
env:
COVERAGE: 1
API_KEY: "${{secrets.API_KEY}}"
DYNAMIC_LINK_DOMAIN: "${{ secrets.DYNAMIC_LINK_DOMAIN }}"
run: bundle exec rspec
- name: CodeClimate Post-build upload
env:
CC_TEST_REPORTER_ID: 22b531be7956bd878ec8ce211da98c483c9724eebc8eb72f99d064f00aa6e985
run: ./cc-test-reporter -d -t simplecov after-build