Skip to content

Fixing the label printing issue tests #2744

Fixing the label printing issue tests

Fixing the label printing issue tests #2744

Workflow file for this run

name: Ruby RSpec Tests
on:
# Warning: changing run conditions could prevent coverage report in PR, see codecov.yml for `after_n_builds`
- 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