Skip to content

Rename the spec because 4, 6, 12, and all counts are tested in the sa… #735

Rename the spec because 4, 6, 12, and all counts are tested in the sa…

Rename the spec because 4, 6, 12, and all counts are tested in the sa… #735

Workflow file for this run

name: Ruby RSpec Tests
on:
- push
- pull_request
env:
BUNDLE_WITHOUT: 'development lint'
jobs:
ruby_test:
runs-on: ubuntu-latest
env:
TZ: Europe/London
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache:
true # Runs bundle install and caches gems. See the ruby_test.yml
# example if you need more control over bundler.
- name: Additional setup
run: bin/setup
- name: Run rspec
run: bundle exec rspec
- name: Publish code coverage to Code Climate
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID || '1735fdb62543d410c5ed4469e402641a7986f1ebf62ff7398f3ab8ccc98069ef' }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ruby,${{ github.event_name }}
fail_ci_if_error: true
disable_search: true
files: ${{ github.workspace }}/lcov.info