Skip to content

[ruby] Update all Bundler dependencies (2024-03-07) #241

[ruby] Update all Bundler dependencies (2024-03-07)

[ruby] Update all Bundler dependencies (2024-03-07) #241

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/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID || '1735fdb62543d410c5ed4469e402641a7986f1ebf62ff7398f3ab8ccc98069ef' }}
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ruby,${{ github.event_name }}
fail_ci_if_error: true
disable_search: true
files: ${{ github.workspace }}/lcov.info