Handle situation where a goal has turned into a non-goal play #37
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
name: Run MiniTest | |
on: [push, pull_request] | |
jobs: | |
run-minitest: | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis:alpine | |
ports: ["6379:6379"] | |
options: --entrypoint redis-server | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
# Not needed with a .ruby-version file | |
ruby-version: 3.2.2 | |
# runs 'bundle install' and caches installed gems automatically | |
bundler-cache: true | |
- name: Run tests | |
env: | |
RAILS_ENV: test | |
REDIS_URL: redis://localhost:6379 | |
run: | | |
bundle exec rails test |