Merge pull request #1101 from graysonchen/feature/support_custom_aws_… #334
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: Test upcoming versions | |
on: [push, pull_request] | |
jobs: | |
spec: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- ruby: 3.3 | |
gemfile: rails_edge | |
- ruby: head | |
gemfile: rails_7_2 | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Ruby and install gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.ruby }} | |
- name: Migrate DB | |
run: bundle exec rake app:db:migrate | |
- name: Prepare DB | |
run: bundle exec rake app:db:test:prepare | |
- name: Run spec | |
run: bundle exec rspec |