diff --git a/.github/workflows/rubyonrails.yml b/.github/workflows/rubyonrails.yml index c26126e..d04fc93 100644 --- a/.github/workflows/rubyonrails.yml +++ b/.github/workflows/rubyonrails.yml @@ -27,6 +27,8 @@ jobs: chrome-server: image: selenium/standalone-chrome:96.0 + ports: + - 4444:4444 steps: - name: Checkout code @@ -48,7 +50,7 @@ jobs: env: RAILS_ENV: test DATABASE_URL: mysql2://test:test@127.0.0.1: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 @@ -56,7 +58,7 @@ jobs: # 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 - +