Skip to content

Add Ruby 3.3 to specs #51

Add Ruby 3.3 to specs

Add Ruby 3.3 to specs #51

Workflow file for this run

name: Test RocketChat Ruby gem
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Lint code - Rubocop
run: bundle exec rubocop
- name: Run tests
run: bundle exec rspec
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: abf0a371ff8851f13b563671914b195bb46f0997f0f93142e666d9acad08e22f