Setup Rspec
This commit is contained in:
@@ -69,16 +69,12 @@ jobs:
|
||||
ruby-version: .ruby-version
|
||||
bundler-cache: true
|
||||
|
||||
- name: Run tests
|
||||
- name: Setup test database
|
||||
env:
|
||||
RAILS_ENV: test
|
||||
# REDIS_URL: redis://localhost:6379/0
|
||||
run: bin/rails db:test:prepare test test:system
|
||||
run: bin/rails db:test:prepare
|
||||
|
||||
- name: Keep screenshots from failed system tests
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
name: screenshots
|
||||
path: ${{ github.workspace }}/tmp/screenshots
|
||||
if-no-files-found: ignore
|
||||
- name: Run rspec
|
||||
env:
|
||||
RAILS_ENV: test
|
||||
run: bundle exec rspec
|
||||
|
Reference in New Issue
Block a user