Skip to content

Add prefix to the version name to distinguish between Barcelona and C… #77

Add prefix to the version name to distinguish between Barcelona and C…

Add prefix to the version name to distinguish between Barcelona and C… #77

Workflow file for this run

name: Ruby
on: [push]
jobs:
rspec:
runs-on: ubuntu-latest
name: Run rspec
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
run: bundle exec rspec
- name: Print coverages
uses: 5monkeys/cobertura-action@v14
with:
path: coverage/coverage.xml
minimum_coverage: 65 # TODO: change to 100% after tracing covered
fail_below_threshold: true
show_line: true
show_missing: true
link_missing_lines: true
rubocop:
runs-on: ubuntu-latest
name: Run rubocop
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run RuboCop
run: bundle exec rubocop