Skip to content

Commit

Permalink
Trying some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanni Brasil committed Mar 18, 2024
1 parent 71d760b commit c2917b7
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/appraisal_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Appraisal CI Tests

on:
push:
branches: "main"
branches:
- main
pull_request:
branches: "*"

jobs:
test:
Expand All @@ -14,34 +14,30 @@ jobs:
fail-fast: false
matrix:
gemfile:
- "6.0"
- "6.1"
- "7.0"
- "7.1"
ruby:
- "2.7.6"
- "3.0.4"
- "3.1.2"
- "3.2.2"
- rails_6.0
- rails_6.1
- rails_7.0
- rails_7.1

env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.gemfile }}.gemfile
RAILS_ENV: test

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: "Install Ruby ${{ matrix.ruby }}"
- name: "Install Ruby 3.3"
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
ruby-version: 3.3

- run: |
bundle install
bundle exec appraisal install
- name: Install dependencies
run: bundle install

- name: Setup database
run: |
bundle exec appraisal rake db:create
bundle exec appraisal rake db:migrate
- name: "Run appraisal rspec"
run: bundle exec appraisal rspec
run: cd gemfiles && bundle install && bundle exec appraisal && bundle exec appraisal rspec

0 comments on commit c2917b7

Please sign in to comment.