Skip to content

Commit

Permalink
Try to install chrome in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
otsch committed Aug 25, 2022
1 parent 9cf42d7 commit a04a7b7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run tests
run: vendor/bin/pest --coverage-clover clover.xml
run: composer test

integration-tests:
name: PestPHP Integration Tests
Expand All @@ -72,6 +72,14 @@ jobs:
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Install chrome
uses: nanasess/setup-chromedriver@v1

- run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
- name: Run integration tests
run: composer test-integration

Expand Down

0 comments on commit a04a7b7

Please sign in to comment.