Skip to content

Commit

Permalink
Add chrome to ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur22 committed Jun 21, 2023
1 parent e9514f8 commit 7b1bfb6
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@ jobs:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- name: Chrome version
if: runner.os != 'Windows'
run: chrome --version
- name: Chrome version
if: runner.os == 'Windows'
shell: pwsh
# chrome --version doesn't work on Windows :-/
# See https://bugs.chromium.org/p/chromium/issues/detail?id=158372
run: (get-command chrome.exe).Version
- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -53,6 +66,19 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- name: Chrome version
if: runner.os != 'Windows'
run: chrome --version
- name: Chrome version
if: runner.os == 'Windows'
shell: pwsh
# chrome --version doesn't work on Windows :-/
# See https://bugs.chromium.org/p/chromium/issues/detail?id=158372
run: (get-command chrome.exe).Version
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
Expand Down Expand Up @@ -86,6 +112,19 @@ jobs:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- name: Chrome version
if: runner.os != 'Windows'
run: chrome --version
- name: Chrome version
if: runner.os == 'Windows'
shell: pwsh
# chrome --version doesn't work on Windows :-/
# See https://bugs.chromium.org/p/chromium/issues/detail?id=158372
run: (get-command chrome.exe).Version
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
Expand Down Expand Up @@ -132,6 +171,19 @@ jobs:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: stable
- name: Chrome version
if: runner.os != 'Windows'
run: chrome --version
- name: Chrome version
if: runner.os == 'Windows'
shell: pwsh
# chrome --version doesn't work on Windows :-/
# See https://bugs.chromium.org/p/chromium/issues/detail?id=158372
run: (get-command chrome.exe).Version
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
Expand Down

0 comments on commit 7b1bfb6

Please sign in to comment.