Skip to content

Commit cc067d1

Browse files
committed
Add env var for Chrome location
1 parent 38cdcd2 commit cc067d1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
python-version: '3.8'
2525

2626
- name: Set up Chrome
27+
id: setup-chrome
2728
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
2829
with:
2930
install-chromedriver: true
@@ -42,6 +43,8 @@ jobs:
4243
pip install -r tests/requirements.txt --quiet
4344
4445
- name: Run tests
46+
env:
47+
DASH_TEST_CHROMEPATH: ${{ steps.setup-chrome.outputs.chrome-path }}
4548
run: pytest --headless
4649

4750
python-3-12-install-test:
@@ -65,6 +68,7 @@ jobs:
6568
node-version: '20'
6669

6770
- name: Set up Chrome
71+
id: setup-chrome
6872
uses: browser-actions/setup-chrome@2e1d749697dd1612b833dba4a722266286fbefcd # v2.1.2
6973
with:
7074
install-chromedriver: true
@@ -83,6 +87,8 @@ jobs:
8387
pip install -r tests/requirements.txt --quiet
8488
8589
- name: Generate project and test
90+
env:
91+
DASH_TEST_CHROMEPATH: ${{ steps.setup-chrome.outputs.chrome-path }}
8692
run: |
8793
mkdir test_install
8894
cd test_install

0 commit comments

Comments
 (0)