File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 # RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
9090 # REDIS_URL: redis://localhost:6379/0
9191 run : bin/rails db:test:prepare test
92-
93- system-test :
94- runs-on : ubuntu-latest
95-
96- # services:
97- # redis:
98- # image: valkey/valkey:8
99- # ports:
100- # - 6379:6379
101- # options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
102- steps :
103- - name : Checkout code
104- uses : actions/checkout@v6
105-
106- - name : Set up Ruby
107- uses : ruby/setup-ruby@v1
108- with :
109- bundler-cache : true
110-
111- - name : Run System Tests
112- env :
113- RAILS_ENV : test
114- # RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
115- # REDIS_URL: redis://localhost:6379/0
116- run : bin/rails db:test:prepare test:system
117-
118- - name : Keep screenshots from failed system tests
119- uses : actions/upload-artifact@v7
120- if : failure()
121- with :
122- name : screenshots
123- path : ${{ github.workspace }}/tmp/screenshots
124- if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments