Skip to content

Commit

Permalink
expose selenium port for GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Mar 31, 2024
1 parent d5bb496 commit 9eab274
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rubyonrails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
chrome-server:
image: selenium/standalone-chrome:96.0
ports:
- 4444:4444

steps:
- name: Checkout code
Expand All @@ -48,15 +50,15 @@ jobs:
env:
RAILS_ENV: test
DATABASE_URL: mysql2://test:[email protected]:3306/test
SELENIUM_SERVER: chrome-server
SELENIUM_SERVER: 127.0.0.1
run: |
bundle exec rake db:reset
bundle exec rake test TEST=test/models
bundle exec rake test TEST=test/mailers
# skip controllers for now due to random errors when running these tests with mysql
#bundle exec rake test TEST=test/controllers
bundle exec rake test:system

0 comments on commit 9eab274

Please sign in to comment.