Merge pull request #1579 from sanger/dpl-1059-fix-scrolling #3891
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: 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: Test & publish code coverage | |
uses: paambaati/[email protected] | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID || '1735fdb62543d410c5ed4469e402641a7986f1ebf62ff7398f3ab8ccc98069ef' }} | |
with: | |
coverageCommand: bundle exec rspec |