Merge pull request #37 from localhots/fix-tests-2024 #3
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
# Adopted from | |
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-ruby | |
name: Ruby CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['3.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby-version }} | |
uses: ruby/[email protected] | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rspec |