Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chaadow committed Aug 15, 2024
1 parent dc23611 commit f9dc26d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- master

permissions:
contents: read

jobs:
test:
name: Ruby ${{ matrix.ruby }} - Gemfile ${{ matrix.gemfile }}
Expand All @@ -16,23 +19,22 @@ jobs:
strategy:
matrix:
ruby: [3.1, 3.2, 3.3]
gemfile:
rails:
- rails_7.0
- rails_7.1
- rails_7.2
- rails_edge
env:
RAILS_ENV: test
DISPLAY: ":99.0"
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile

steps:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.rails }}.gemfile

- name: Set up PhantomJS
run: |
Expand Down

0 comments on commit f9dc26d

Please sign in to comment.