Skip to content

Commit

Permalink
fix: ci workflow fixed by removing old ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Waishnav committed Jul 4, 2024
1 parent 0109ceb commit 4256491
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.7', '3.0']
ruby: ['3.0', '3.1', '3.2']
gemfile:
- rails_5_2
- rails_6
- rails_6_1
- rails_master
- rails_7
- rails_7_1
- rails_main
exclude:
- ruby: '3.0'
gemfile: 'rails_5_2'
gemfile: 'rails_main'
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_PATH_RELATIVE_TO_CWD: true
Expand All @@ -37,8 +37,7 @@ jobs:
run: bundle exec standardrb
- name: Run tests
env:
DATABASE_URL: "sqlite3:noticed_test"
STRIPE_PRIVATE_KEY: ${{ secrets.STRIPE_PRIVATE_KEY }}
DATABASE_URL: "sqlite3:simple_discussion_test"
run: |
bin/rails db:test:prepare
bin/rails test

0 comments on commit 4256491

Please sign in to comment.