Skip to content

Commit

Permalink
Install chrome via apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Nov 17, 2024
1 parent 28c7b69 commit 1bf4627
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ jobs:
RAILS_VERSION: ${{ matrix.rails_version }}
TEST_FRAMEWORK: ${{ matrix.test_framework }}

runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable

- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
Expand All @@ -98,10 +100,5 @@ jobs:
bundler-cache: true
continue-on-error: ${{ matrix.allow_failures == 'true' }}

- uses: nanasess/[email protected]
- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
- run: bundle exec rake
continue-on-error: ${{ matrix.allow_failures == 'true' }}

0 comments on commit 1bf4627

Please sign in to comment.