Skip to content

Commit

Permalink
Use GHA matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfri committed Jan 20, 2024
1 parent be7cf55 commit 4f2224a
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: Test

on:
push:
branches:
- master
pull_request:
branches:
- master
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile:
- rails_6
- rails_6.1
- rails_7
- rails_7.1
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
- run: bundle install
- run: bundle exec appraisal install
- run: bundle exec appraisal rake
- run: "bundle install"
- run: "bundle exec rake"

0 comments on commit 4f2224a

Please sign in to comment.