Try setting PATH to start with directory for newly installed chrome
This commit is contained in:
parent
31821d70b0
commit
37ce0886aa
2
.github/workflows/pull_requests.yml
vendored
2
.github/workflows/pull_requests.yml
vendored
@ -46,6 +46,7 @@ jobs:
|
|||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
- name: Setup Chrome
|
- name: Setup Chrome
|
||||||
|
id: setup-chrome
|
||||||
if: success()
|
if: success()
|
||||||
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
|
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
|
||||||
with:
|
with:
|
||||||
@ -54,6 +55,7 @@ jobs:
|
|||||||
- name: UI Tests
|
- name: UI Tests
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
|
export PATH=`dirname ${{ steps.setup-chrome.outputs.chrome-path }}`:$PATH
|
||||||
sudo apt-get install xvfb
|
sudo apt-get install xvfb
|
||||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user