Merge pull request #427 from dylan8902/feature/christmas-jumpers #134
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: Tests | |
on: [ push ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
RAILS_ENV: test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.6' | |
bundler-cache: true | |
- name: Create database | |
run: | | |
bin/rails db:prepare | |
- name: Run tests | |
run: | | |
bin/bundle exec rake |