Skip to content

Commit

Permalink
CIでのテストの実行方法を修正した
Browse files Browse the repository at this point in the history
  • Loading branch information
miminashi committed Aug 10, 2024
1 parent ac90b0d commit 7a82656
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: PreCompile assets
run: ./rails assets:precompile RAILS_ENV=test
run: ./docker_compose --profile test run --rm --build test rails assets:precompile
- name: Create database
run: ./rails db:create
run: ./docker_compose --profile test run --rm --build test rails db:create
- name: Run tests on docker compose
run: ./rails test
run: ./docker_compose --profile test run --rm --build test rails test

0 comments on commit 7a82656

Please sign in to comment.