Skip to content

Commit

Permalink
fix test runner command
Browse files Browse the repository at this point in the history
  • Loading branch information
Floppy committed Nov 26, 2024
1 parent 88c958e commit cc634f7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,15 @@ jobs:
ruby-version: 3.3.6
bundler-cache: true

- name: Prepare database
env:
RAILS_ENV: test
run: bin/rails db:test:prepare

- name: Run tests
env:
RAILS_ENV: test
# REDIS_URL: redis://localhost:6379/0
run: bin/rails db:test:prepare test
run: bundle exec rspec

- name: Keep screenshots from failed system tests
uses: actions/upload-artifact@v4
Expand All @@ -56,4 +60,3 @@ jobs:
name: screenshots
path: ${{ github.workspace }}/tmp/screenshots
if-no-files-found: ignore

0 comments on commit cc634f7

Please sign in to comment.