Skip to content

Commit

Permalink
bin/rails -> bundle exec rails に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
koi-chan committed Jan 16, 2024
1 parent 262c4e5 commit 9ef4e20
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ jobs:
fail-fast: false
matrix:
ruby:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
mroonga:
- latest
- mysql80-latest
Expand All @@ -26,6 +23,7 @@ jobs:
env:
RAILS_ENV: test
TZ: Asia/Tokyo
NODE_ENV: production
services:
db:
image: groonga/mroonga:${{ matrix.mroonga }}
Expand All @@ -47,13 +45,12 @@ jobs:
bundler-cache: true
# 参考: https://igarashikuniaki.net/diary/20200210.html
- name: Install JavaScript packages
run: |
yarn install
run: yarn install
- name: Setup database
run: |
cp config/database.yml.github_actions config/database.yml
bin/rails db:setup
- name: Compile JavaScripts (webpack)
run: NODE_ENV=production bin/yarn webpack
run: yarn webpack
- name: Run tests
run: bin/rails test
run: bundle exec rails test

0 comments on commit 9ef4e20

Please sign in to comment.