Skip to content

Commit

Permalink
[build] make ruby and python use setup-firefox action
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 13, 2022
1 parent 77be05c commit 59c175d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
- name: Setup GeckoDriver
uses: browser-actions/setup-geckodriver@latest
- name: Setup Firefox and GeckoDriver
uses: ./.github/actions/setup-firefox
- name: Start XVFB
run: Xvfb :99 &
- name: Run browser tests in Firefox (Remote)
Expand Down Expand Up @@ -219,10 +217,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
- name: Setup GeckoDriver
uses: browser-actions/setup-geckodriver@latest
- name: Setup Firefox and GeckoDriver
uses: ./.github/actions/setup-firefox
- name: Start XVFB
run: Xvfb :99 &
- name: Run browser tests in Firefox
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,8 @@ jobs:
restore-keys: |
${{ runner.os }}-bazel-ruby-${{ matrix.target }}-
- uses: ./.github/actions/setup-bazelisk
- name: Setup Firefox
uses: browser-actions/setup-firefox@latest
- name: Setup GeckoDriver
uses: browser-actions/setup-geckodriver@latest
- name: Setup Firefox and GeckoDriver
uses: ./.github/actions/setup-firefox
- run: Xvfb :99 &
- uses: ./.github/actions/bazel
with:
Expand Down

0 comments on commit 59c175d

Please sign in to comment.