Skip to content

🤖 Sync org-wide files to upstream repo (#1703) #1400

🤖 Sync org-wide files to upstream repo (#1703)

🤖 Sync org-wide files to upstream repo (#1703) #1400

name: Exercise tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Ruby ${{ matrix.ruby-version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
ruby-version: [3.2, 3.3]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Set up Ruby
uses: ruby/setup-ruby@3a77c29278ae80936b4cb030fefc7d21c96c786f
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Lint
run: bundle exec rubocop -fs --except Metrics --config .rubocop.yml
- name: Test exercises
run: bundle exec rake test